From aaf4cd54c3a3fae644562ab7bb307b74fde2452b Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Sun, 18 Feb 2024 18:45:09 +0100 Subject: [PATCH] Added appearance table. --- migrations/02_appearance.sql | 5 +++++ migrations/03_banner_style.sql | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 migrations/02_appearance.sql create mode 100644 migrations/03_banner_style.sql diff --git a/migrations/02_appearance.sql b/migrations/02_appearance.sql new file mode 100644 index 0000000..09ce829 --- /dev/null +++ b/migrations/02_appearance.sql @@ -0,0 +1,5 @@ +CREATE TABLE appearance ( + id SERIAL PRIMARY KEY, + banner VARCHAR, + text VARCHAR +) \ No newline at end of file diff --git a/migrations/03_banner_style.sql b/migrations/03_banner_style.sql new file mode 100644 index 0000000..f384a0b --- /dev/null +++ b/migrations/03_banner_style.sql @@ -0,0 +1,3 @@ +ALTER TABLE appearance ADD style_wide VARCHAR; +ALTER TABLE appearance ADD style_narrow VARCHAR; +ALTER TABLE appearance ADD title VARCHAR; \ No newline at end of file