generator fix [skip ci]
This commit is contained in:
parent
bb55b4b743
commit
ebb8913747
|
|
@ -96,7 +96,7 @@ QString SqliteGenerator::fieldDeclare(FieldModel *field)
|
|||
return type;
|
||||
|
||||
if (field->isPrimaryKey) {
|
||||
type.append("INTEGER PRIMARY KEY");
|
||||
type = "INTEGER PRIMARY KEY";
|
||||
if (field->isAutoIncrement)
|
||||
type.append(" AUTOINCREMENT");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue