bug fixed
This commit is contained in:
parent
3843e98d77
commit
1d7932a2ae
|
@ -123,7 +123,7 @@ func (db *postgres) IsColumnExist(tableName string, col *core.Column) (bool, err
|
|||
if rows.Next() {
|
||||
return true, nil
|
||||
}
|
||||
return false, core.ErrNotExist
|
||||
return false, nil
|
||||
}
|
||||
|
||||
func (db *postgres) GetColumns(tableName string) ([]string, map[string]*core.Column, error) {
|
||||
|
|
Loading…
Reference in New Issue