Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #472 from a93-39a/master
Browse files Browse the repository at this point in the history
Database Failure On Install
  • Loading branch information
Austin H authored Aug 10, 2019
2 parents 2eb4e8d + 72bba15 commit a6cf386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.DS_Store
build
*.iml
**/release/
app/*.apk
app/app-debug.zip
app/app-release.zip
Expand Down
Binary file removed app/release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/src/main/java/com/adam/aslfms/util/ScrobblesDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public CorrectionRule fetchCorrectioneRule(int id) {
// TODO: DELETE ME AFTER !!!

public void alterDataBaseOnce(){
mDb.execSQL("ALTER TABLE " + TABLENAME_SCROBBLES + " ADD COLUMN albumartist text not null");
mDb.execSQL("ALTER TABLE " + TABLENAME_SCROBBLES + " ADD COLUMN trackartist text not null");
mDb.execSQL("ALTER TABLE " + TABLENAME_SCROBBLES + " ADD COLUMN albumartist text");
mDb.execSQL("ALTER TABLE " + TABLENAME_SCROBBLES + " ADD COLUMN trackartist text");
}
}

0 comments on commit a6cf386

Please sign in to comment.