Typos
This commit is contained in:
parent
4c45d00989
commit
89d246f3f6
|
@ -5,35 +5,19 @@ CREATE TABLE IF NOT EXISTS "country"
|
||||||
name varchar(45) NOT NULL,
|
name varchar(45) NOT NULL,
|
||||||
|
|
||||||
primary key (id)
|
primary key (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS "holiday"
|
CREATE TABLE IF NOT EXISTS "holiday"
|
||||||
(
|
(
|
||||||
id uuid,
|
id uuid,
|
||||||
country char(2) NOT NULL,
|
country char(2) NOT NULL,
|
||||||
date date NOT NULL,
|
date date NOT NULL,
|
||||||
name varchar(64) NOT NULL,
|
name varchar(64) NOT NULL,
|
||||||
description varchar(512),
|
description varchar(512),
|
||||||
is_state boolean NOT NULL,
|
is_state boolean NOT NULL,
|
||||||
is_religious boolean NOT NULL,
|
is_religious boolean NOT NULL,
|
||||||
|
|
||||||
primary key (id),
|
primary key (id),
|
||||||
constraint fk_country_id foreign key (country)
|
constraint fk_country_id
|
||||||
references co
|
foreign key (cuntry(iso_name) on delete cascade on update cascade
|
||||||
|
|
||||||
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
|
|
||||||
);
|
);
|
Loading…
Reference in New Issue