bug fixed

This commit is contained in:
Lunny Xiao 2014-05-09 09:47:40 +08:00
parent 3843e98d77
commit 1d7932a2ae
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func (db *postgres) IsColumnExist(tableName string, col *core.Column) (bool, err
if rows.Next() { if rows.Next() {
return true, nil return true, nil
} }
return false, core.ErrNotExist return false, nil
} }
func (db *postgres) GetColumns(tableName string) ([]string, map[string]*core.Column, error) { func (db *postgres) GetColumns(tableName string) ([]string, map[string]*core.Column, error) {