diff --git a/migrations/000.008.sql b/migrations/000.008.sql new file mode 100644 index 0000000..628da8b --- /dev/null +++ b/migrations/000.008.sql @@ -0,0 +1,9 @@ +DO $$ + BEGIN + BEGIN + ALTER TABLE designers ADD COLUMN visible_productpage INT DEFAULT 1; + EXCEPTION + WHEN duplicate_column THEN RAISE NOTICE 'column visible_productpage already exists in "designers".'; + END; + END; +$$