Fix migration script
This commit is contained in:
@@ -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';
|
||||
SELECT 'EXPENSE_YEAR', start-INTERVAL '1 second' FROM period WHERE type = 'EXPENSE';
|
||||
Reference in New Issue
Block a user