mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-13 19:51:25 +01:00
Fixed double Primary key built for sqlite
This commit is contained in:
parent
6effe352b2
commit
c294f65cb9
@ -68,10 +68,10 @@ public class CreateTableParser {
|
||||
if (dbType.supportsMySQLQueries()) {
|
||||
notNull();
|
||||
columnBuilder.append(" AUTO_INCREMENT");
|
||||
primaryKey(currentColumn);
|
||||
} else {
|
||||
columnBuilder.append(" PRIMARY KEY");
|
||||
}
|
||||
primaryKey(currentColumn);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user