mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
new column to track whether game has pending msgs
This commit is contained in:
parent
46ff3c3b68
commit
d5eff5af21
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,7 @@ public class DBHelper extends SQLiteOpenHelper {
|
|||
// for which messages arrive. Add now while changing the DB
|
||||
// format
|
||||
public static final String GAMEID = "GAMEID";
|
||||
public static final String HASMSGS = "HASMSGS";
|
||||
public static final String SNAPSHOT = "SNAPSHOT";
|
||||
public static final String CONTYPE = "CONTYPE";
|
||||
public static final String ROOMNAME = "ROOMNAME";
|
||||
|
@ -68,6 +69,8 @@ public class DBHelper extends SQLiteOpenHelper {
|
|||
+ SMSPHONE + " TEXT,"
|
||||
+ SCORES + " TEXT,"
|
||||
+ GAMEID + " INTEGER,"
|
||||
// HASMSGS: sqlite doesn't have bool; use 0 and 1
|
||||
+ HASMSGS + " INTEGER DEFAULT 0,"
|
||||
|
||||
+ CREATE_TIME + " INTEGER,"
|
||||
+ LASTPLAY_TIME + " INTEGER,"
|
||||
|
|
Loading…
Add table
Reference in a new issue