From 89d246f3f64a030ee2ab412826ec0767998e97f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borna=20Rajkovi=C4=87?= Date: Sun, 6 Aug 2023 13:20:11 +0200 Subject: [PATCH] Typos --- db/prod/v1_0.sql | 22 +++---------------- holiday/{year_searvice.go => year_service.go} | 0 2 files changed, 3 insertions(+), 19 deletions(-) rename holiday/{year_searvice.go => year_service.go} (100%) diff --git a/db/prod/v1_0.sql b/db/prod/v1_0.sql index 4d917ab..f2b8b19 100644 --- a/db/prod/v1_0.sql +++ b/db/prod/v1_0.sql @@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS "country" name varchar(45) NOT NULL, primary key (id) - ); +); CREATE TABLE IF NOT EXISTS "holiday" ( @@ -18,22 +18,6 @@ CREATE TABLE IF NOT EXISTS "holiday" is_religious boolean NOT NULL, primary key (id), - constraint fk_country_id foreign key (country) - 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 + constraint fk_country_id + foreign key (cuntry(iso_name) on delete cascade on update cascade ); \ No newline at end of file diff --git a/holiday/year_searvice.go b/holiday/year_service.go similarity index 100% rename from holiday/year_searvice.go rename to holiday/year_service.go