Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- String addMeasureJsonQuery = "ALTER TABLE " + SqlCard.TOOTEET_TABLE + " ADD COLUMN " + Columns.Tooteet.MEASURE_JSON + " TEXT";
- if (oldVersion == 1 && newVersion == 2){
- db.execSQL(addMeasureJsonQuery);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement