bug fixed
This commit is contained in:
parent
aed19a5f81
commit
adc62c0bd4
|
@ -154,7 +154,7 @@ func (db *Base) IsColumnExist(tableName string, col *Column) (bool, error) {
|
|||
if rows.Next() {
|
||||
return true, nil
|
||||
}
|
||||
return false, ErrNotExist
|
||||
return false, nil
|
||||
}
|
||||
|
||||
func (db *Base) CreateIndexSql(tableName string, index *Index) string {
|
||||
|
|
Loading…
Reference in New Issue