From 05943b9679408e25698c0f186c182037c53e322f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 21 Apr 2014 11:15:12 +0800 Subject: [PATCH] new interface --- dialect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialect.go b/dialect.go index f17cf784..08a4a4c5 100644 --- a/dialect.go +++ b/dialect.go @@ -46,7 +46,7 @@ type Dialect interface { DropTableSql(tableName string) string IndexCheckSql(tableName, idxName string) (string, []interface{}) TableCheckSql(tableName string) (string, []interface{}) - ColumnCheckSql(tableName, colName string) (string, []interface{}) + ColumnCheckSql(tableName, colName string, isPK bool) (string, []interface{}) CreateTableSql(table *Table, tableName, storeEngine, charset string) string CreateIndexSql(tableName string, index *Index) string