From 8909cfce192acd32e923d63a496c69d6f2ffcdb6 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 12 Mar 2024 23:45:15 +0100 Subject: [PATCH] add customizable template --- .../20240310202648_add_customizable_template.down.sql | 2 ++ .../migrations/20240310202648_add_customizable_template.up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 backend/migrations/20240310202648_add_customizable_template.down.sql create mode 100644 backend/migrations/20240310202648_add_customizable_template.up.sql diff --git a/backend/migrations/20240310202648_add_customizable_template.down.sql b/backend/migrations/20240310202648_add_customizable_template.down.sql new file mode 100644 index 0000000000..5a2f2a60d1 --- /dev/null +++ b/backend/migrations/20240310202648_add_customizable_template.down.sql @@ -0,0 +1,2 @@ +-- Add down migration script here +ALTER TABLE workspace_settings DROP COLUMN default_scripts; \ No newline at end of file diff --git a/backend/migrations/20240310202648_add_customizable_template.up.sql b/backend/migrations/20240310202648_add_customizable_template.up.sql new file mode 100644 index 0000000000..48dd58ca64 --- /dev/null +++ b/backend/migrations/20240310202648_add_customizable_template.up.sql @@ -0,0 +1,2 @@ +-- Add up migration script here +ALTER TABLE workspace_settings ADD COLUMN default_scripts JSONB; \ No newline at end of file