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 33fa73d..32b267f 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 @@ -2,8 +2,8 @@ CREATE TABLE period ( id BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, type VARCHAR(255) NOT NULL, - start DATETIME NOT NULL, - "end" DATETIME + start TIMESTAMP NOT NULL, + "end" TIMESTAMP ); CREATE TABLE link_transaction_period (