Re-generate ent code.

This commit is contained in:
mikestefanello 2025-08-15 09:58:39 -04:00
parent db9fe90163
commit 04f37f87e2
13 changed files with 850 additions and 850 deletions

View file

@ -71,14 +71,14 @@ var (
)
// checkColumn checks if the column exists in the given table.
func checkColumn(table, column string) error {
func checkColumn(t, c string) error {
initCheck.Do(func() {
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
passwordtoken.Table: passwordtoken.ValidColumn,
user.Table: user.ValidColumn,
})
})
return columnCheck(table, column)
return columnCheck(t, c)
}
// Asc applies the given fields in ASC order.