diff --git a/financer-server/src/main/resources/database/postgres/V19_0_1__period.sql b/financer-server/src/main/resources/database/postgres/V19_0_1__period.sql index 69377ff..d899b38 100644 --- a/financer-server/src/main/resources/database/postgres/V19_0_1__period.sql +++ b/financer-server/src/main/resources/database/postgres/V19_0_1__period.sql @@ -19,4 +19,4 @@ INSERT INTO period (type, start) VALUES ('EXPENSE', NOW()); INSERT INTO period (type, start) -SELECT 'EXPENSE_YEAR', DATEADD(SECOND, -1, start) FROM period WHERE type = 'EXPENSE'; \ No newline at end of file +SELECT 'EXPENSE_YEAR', start-INTERVAL '1 second' FROM period WHERE type = 'EXPENSE'; \ No newline at end of file diff --git a/financer-web-client/src/main/resources/static/changelog.txt b/financer-web-client/src/main/resources/static/changelog.txt index ebc707b..42f471e 100644 --- a/financer-web-client/src/main/resources/static/changelog.txt +++ b/financer-web-client/src/main/resources/static/changelog.txt @@ -1,5 +1,5 @@ v53 -> v54: -- +- Fix V19 migration script v52 -> v53: - Add new deployment profile