Deployment of v19 failed

Postgres has not DATETIME type, so change it to TIMESTAMP
This commit is contained in:
2019-09-28 22:03:54 +02:00
parent 3115807c4e
commit 1954b2e22e

View File

@@ -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 (