From 3ba01a7f50be654f246bc4ec3f2f3ee153c3aec1 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson <34234789+anders-photowall@users.noreply.github.com> Date: Thu, 17 Dec 2020 08:55:56 +0100 Subject: [PATCH] P5-6410 - add default tab column to collections (#158) --- migrations/000.272.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 migrations/000.272.sql diff --git a/migrations/000.272.sql b/migrations/000.272.sql new file mode 100644 index 0000000..0cf8633 --- /dev/null +++ b/migrations/000.272.sql @@ -0,0 +1,6 @@ +-- P5-6410: add default product list tab column to collections. + +ALTER TABLE collections + ADD COLUMN default_product_list_tab TEXT + CHECK(default_product_list_tab IN ('wallpapers', 'canvas-prints', 'framed-prints', 'posters')) + DEFAULT 'wallpapers';