Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
262 B
SQL
Raw Permalink Normal View History

ALTER TABLE workspace_agent_scripts
ADD COLUMN resource_address TEXT NOT NULL DEFAULT '',
ADD COLUMN dependencies JSONB NOT NULL DEFAULT '[]'::jsonb,
ADD CONSTRAINT workspace_agent_scripts_dependencies_is_array
CHECK (jsonb_typeof(dependencies) = 'array');