mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
use autoincrement primary key, same as on Android
This commit is contained in:
parent
d78a4979da
commit
72e100ccac
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ openGamesDB( const char* dbName )
|
|||
|
||||
const char* createGamesStr =
|
||||
"CREATE TABLE games ( "
|
||||
"game BLOB"
|
||||
"rowid INTEGER PRIMARY KEY AUTOINCREMENT"
|
||||
",game BLOB"
|
||||
",room VARCHAR(32)"
|
||||
",ended INT(1)"
|
||||
",turn INT(2)"
|
||||
|
|
Loading…
Reference in a new issue