fix: ensure blocklist is singular

This commit is contained in:
Derrick Hammer 2024-01-16 00:11:12 -05:00
parent 86c80aefaa
commit 4976874453
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@ type Blocklist struct {
Reason string
BlockedAt time.Time
}
func (Blocklist) TableName() string {
return "blocklist"
}