From 1d7932a2ae4dd46c3ad2b74e251ab2a0390bc9db Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 9 May 2014 09:47:40 +0800 Subject: [PATCH] bug fixed --- postgres_dialect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {