mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-27 01:56:03 +08:00
Added SQL migration to add "parameters" column to workflow_template_versions
table.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE workflow_template_versions ADD COLUMN parameters JSONB;
|
||||
UPDATE workflow_template_versions SET parameters = '[]'::JSONB;
|
||||
ALTER TABLE workflow_template_versions ALTER COLUMN parameters SET NOT NULL;
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE workflow_template_versions DROP COLUMN parameters;
|
Reference in New Issue
Block a user