diff --git a/postgres_dialect.go b/postgres_dialect.go index 746afbc3..58e8da4f 100644 --- a/postgres_dialect.go +++ b/postgres_dialect.go @@ -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) {