mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
fix: fixed some issues
This commit is contained in:
@@ -99,7 +99,7 @@ func (msg *SQLGenerator) genColumnBasicSql(quoter dbi.Quoter, column dbi.Column)
|
||||
dataType := column.DataType
|
||||
|
||||
incr := ""
|
||||
if column.IsIdentity {
|
||||
if column.AutoIncrement {
|
||||
incr = " AUTO_INCREMENT"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user