Skip to content

Commit

Permalink
Merge pull request #10 from rextivlan/dev_ali
Browse files Browse the repository at this point in the history
Fix issue #9 to improve Reliability and remove Technical Debt
  • Loading branch information
rextivlan authored Feb 14, 2024
2 parents 87a44d6 + 577b0ea commit 5cbc2b6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public boolean onCreate() {
boolean onCreate(Context context) {
try (CustomSQLiteOpenHelper databaseHelper = new CustomSQLiteOpenHelper(context)) {
db = databaseHelper.getWritableDatabase();
// Necessary to enable cascade deletion from Track to TrackPoints and Markers
db.setForeignKeyConstraintsEnabled(true);
} catch (SQLiteException e) {
Log.e(TAG, "Unable to open database for writing.", e);
Expand Down

0 comments on commit 5cbc2b6

Please sign in to comment.