AppDbUpdater: Update db version to 16

This commit is contained in:
2024-02-15 07:30:21 +01:00
parent 1b9064a97c
commit 11be424c38
3 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,7 @@ namespace Elwig.Helpers {
public static class AppDbUpdater {
// Don't forget to update value in Tests/fetch-resources.bat!
public static readonly int RequiredSchemaVersion = 15;
public static readonly int RequiredSchemaVersion = 16;
private static int VersionOffset = 0;

View File

@ -0,0 +1,9 @@
-- schema version 15 to 16
INSERT INTO AT_plz_dest (plz, okz, dest)
VALUES (2560, 3388, 'Grillenberg');
DELETE FROM AT_plz_dest WHERE (plz, okz) = (2561, 3388);
UPDATE AT_ort SET kgnr = 23351 WHERE okz = 5280;
UPDATE AT_ort SET kgnr = 4311 WHERE okz = 3388;