Upgraded ent.
This commit is contained in:
parent
acbc5e4bf6
commit
0bf9ab7189
9 changed files with 70 additions and 56 deletions
|
|
@ -70,7 +70,7 @@ var (
|
|||
columnCheck sql.ColumnCheck
|
||||
)
|
||||
|
||||
// columnChecker checks if the column exists in the given table.
|
||||
// checkColumn checks if the column exists in the given table.
|
||||
func checkColumn(table, column string) error {
|
||||
initCheck.Do(func() {
|
||||
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue