mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 04:32:05 +08:00
-
This commit is contained in:
parent
41101b0324
commit
0b8ac9a200
@ -219,6 +219,9 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
string sql = GetCreateTableSql(tableName, columns);
|
||||
if (!isCreatePrimaryKey) {
|
||||
sql = sql.Replace("PRIMARY KEY AUTOINCREMENT","").Replace("PRIMARY KEY", "");
|
||||
}
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
return true;
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user