Add first google auth
This commit is contained in:
+3
-1
@@ -5,6 +5,7 @@ package ent
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"ersteller-lib/starter/ent/googleauth"
|
||||
"ersteller-lib/starter/ent/user"
|
||||
"fmt"
|
||||
"reflect"
|
||||
@@ -73,7 +74,8 @@ var (
|
||||
func checkColumn(t, c string) error {
|
||||
initCheck.Do(func() {
|
||||
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
|
||||
user.Table: user.ValidColumn,
|
||||
googleauth.Table: googleauth.ValidColumn,
|
||||
user.Table: user.ValidColumn,
|
||||
})
|
||||
})
|
||||
return columnCheck(t, c)
|
||||
|
||||
Reference in New Issue
Block a user