get rid of columns I don't plan to use yet -- can always add later.

This commit is contained in:
Andy2 2011-03-02 18:58:20 -08:00
parent 693310bdc7
commit a0bf3405b8

View file

@ -78,7 +78,6 @@ public class DBHelper extends SQLiteOpenHelper {
+ NUM_PLAYERS + " INTEGER,"
+ PLAYERS + " TEXT,"
+ GAME_OVER + " INTEGER,"
+ IN_USE + " INTEGER," // really a boolean
+ SERVERROLE + " INTEGER,"
+ CONTYPE + " INTEGER,"
@ -131,8 +130,6 @@ public class DBHelper extends SQLiteOpenHelper {
" ADD COLUMN " + GIFLAGS + " INTEGER;" );
db.execSQL( "ALTER TABLE " + TABLE_NAME_SUM +
" ADD COLUMN " + CHAT_HISTORY + " TEXT;" );
db.execSQL( "ALTER TABLE " + TABLE_NAME_SUM +
" ADD COLUMN " + IN_USE + " INTEGER;" );
} else {
db.execSQL( "DROP TABLE " + TABLE_NAME_SUM + ";" );
if ( oldVersion >= 6 ) {