mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +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 CONTYPE = "CONTYPE";
|
||||||
public static final String ROOMNAME = "ROOMNAME";
|
public static final String ROOMNAME = "ROOMNAME";
|
||||||
public static final String SMSPHONE = "SMSPHONE";
|
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 )
|
public DBHelper( Context context )
|
||||||
|
@ -63,6 +67,9 @@ public class DBHelper extends SQLiteOpenHelper {
|
||||||
+ SCORES + " TEXT,"
|
+ SCORES + " TEXT,"
|
||||||
+ GAMEID + " INTEGER,"
|
+ GAMEID + " INTEGER,"
|
||||||
|
|
||||||
|
+ CREATE_TIME + " INTEGER,"
|
||||||
|
+ LASTPLAY_TIME + " INTEGER,"
|
||||||
|
|
||||||
+ SNAPSHOT + " BLOB"
|
+ SNAPSHOT + " BLOB"
|
||||||
+ ");" );
|
+ ");" );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue