Add support for IP-based bans (#1703)
* Add support for IP-based bans. Closes #1534 * Linter cleanup
This commit is contained in:
@@ -34,3 +34,9 @@ type ApOutbox struct {
|
||||
CreatedAt sql.NullTime
|
||||
LiveNotification sql.NullBool
|
||||
}
|
||||
|
||||
type IpBan struct {
|
||||
IpAddress string
|
||||
Notes sql.NullString
|
||||
CreatedAt sql.NullTime
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user