mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix deleteall users sql
This commit is contained in:
parent
81c1a7eb16
commit
a2f192280b
@ -83,7 +83,7 @@ func List(pageInfo model.PageInfo, filters []model.Filter, expand []string) (ent
|
||||
// DeleteAll will do just that, and should only be used for testing purposes.
|
||||
func DeleteAll() error {
|
||||
db := database.GetDB()
|
||||
result := db.Exec("DELETE FROM users")
|
||||
result := db.Exec("DELETE FROM user")
|
||||
return result.Error
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user