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