Fixed production migration + v0.2.2 -> v0.2.3

This commit is contained in:
brajkovic committed 2023-08-05 22:10:15 +02:00
1 parent 23a952df81
commit 4c45d00989
2 files changed
+18 -2

No files matched your search

+17 -1
View File
@@ -19,5 +19,21 @@ CREATE TABLE IF NOT EXISTS "holiday"
primary key (id),
constraint fk_country_id foreign key (country)
references country(iso_name) on delete cascade on update cascade
references co
primary key (id)
);
CREATE TABLE IF NOT EXISTS "holiday"
(
id uuid,
country char(2) NOT NULL,
date date NOT NULL,
name varchar(64) NOT NULL,
description varchar(512),
is_state boolean NOT NULL,
is_religious boolean NOT NULL,
primary key (id),
constraint fk_country_id foreign key (cuntry(iso_name) on delete cascade on update cascade
);