mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
add timestamp fields to DB as long as the format's changing
This commit is contained in:
parent
0e3411ecd4
commit
9d86ba9a99
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,10 @@ public class DBHelper extends SQLiteOpenHelper {
|
|||
public static final String CONTYPE = "CONTYPE";
|
||||
public static final String ROOMNAME = "ROOMNAME";
|
||||
public static final String SMSPHONE = "SMSPHONE";
|
||||
// not used yet
|
||||
public static final String CREATE_TIME = "CREATE_TIME";
|
||||
// not used yet
|
||||
public static final String LASTPLAY_TIME = "LASTPLAY_TIME";
|
||||
|
||||
|
||||
public DBHelper( Context context )
|
||||
|
@ -63,6 +67,9 @@ public class DBHelper extends SQLiteOpenHelper {
|
|||
+ SCORES + " TEXT,"
|
||||
+ GAMEID + " INTEGER,"
|
||||
|
||||
+ CREATE_TIME + " INTEGER,"
|
||||
+ LASTPLAY_TIME + " INTEGER,"
|
||||
|
||||
+ SNAPSHOT + " BLOB"
|
||||
+ ");" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue