Skip to content

Commit a2f1922

Browse files
committed
Fix deleteall users sql
1 parent 81c1a7e commit a2f1922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/entity/user/methods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func List(pageInfo model.PageInfo, filters []model.Filter, expand []string) (ent
8383
// DeleteAll will do just that, and should only be used for testing purposes.
8484
func DeleteAll() error {
8585
db := database.GetDB()
86-
result := db.Exec("DELETE FROM users")
86+
result := db.Exec("DELETE FROM user")
8787
return result.Error
8888
}
8989

0 commit comments

Comments
 (0)