我有以下mysql下条令的YML配置:
Designer:
tableName: designers
columns:
id:
type: integer(2)
name:
type: string(30)
notnull: true
Item:
tableName: items
columns:
id:
type: integer(3)
unsigned: true
primary: true
autoincrement: true
model_name:
type: string(40)
notnull: true
当我使用dbms删除表并使用district cli
create-tables
它报告了它们的成功创建,但当我检查列时,却在
designers
表到类型
SMALLINT
长度5和
items
-医生(8)。我希望它们是2和3,如配置中所述。原因可能是什么?蒂亚