Add some code
This commit is contained in:
parent
d5639abfd6
commit
196fd7c1b5
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ public class MapMarkersDbHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onUpgrade(SQLiteConnection db, int oldVersion, int newVersion) {
|
private void onUpgrade(SQLiteConnection db, int oldVersion, int newVersion) {
|
||||||
db.execSQL("DROP TABLE " + MARKERS_TABLE_NAME);
|
db.execSQL("DROP TABLE IF EXISTS " + MARKERS_TABLE_NAME);
|
||||||
db.execSQL("DROP TABLE " + GROUPS_TABLE_NAME);
|
db.execSQL("DROP TABLE IF EXISTS " + GROUPS_TABLE_NAME);
|
||||||
onCreate(db);
|
onCreate(db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue