diff --git a/xwords4/linux/gamesdb.c b/xwords4/linux/gamesdb.c index d6255d48d..d29e16b21 100644 --- a/xwords4/linux/gamesdb.c +++ b/xwords4/linux/gamesdb.c @@ -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)"