Skip to content

Commit

Permalink
Add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Dec 6, 2024
1 parent c4a67f7 commit 9a4c12f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ public static void migrate(DataSource dataSource, boolean dbIsNew) throws SQLExc
execIgnore(c, "ALTER TABLE settings DROP COLUMN covid_certificates_allow_vaccinated_products;", new String[] {"no such column", "existiert", "syntax error"});
updateVersionTable(c, 105);
}
if (db_version < 106) {
execIgnore(c, "ALTER TABLE receiptline ADD tax_code TEXT NULL;", new String[] {"duplicate column name", "already exists", "existiert bereits"});
updateVersionTable(c, 106);
}

// Note that the Android app currently does not use these queries!

Expand Down

0 comments on commit 9a4c12f

Please sign in to comment.