Skip to content

Commit

Permalink
Fixed bug where data was being overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
autoreleasefool committed Sep 14, 2015
1 parent 099ea7d commit 8749f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BC-Free/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
def versionMajor = 2
def versionMinor = 0
def versionPatch = 3
def versionPatch = 4

android {
compileSdkVersion 23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
break;
case 4:
upgradeDatabaseFrom3To4(db);
break;
default:
dropTablesAndRecreate(db);
}
Expand Down

0 comments on commit 8749f1c

Please sign in to comment.