# Variable sql_pg`Const`

sql_pg: "\nalter table _sc_workflow_runs add column status_updated_at timestamp;\nalter table _sc_workflow_runs add column session_id text;\n\nALTER TABLE _sc_workflow_steps ADD CONSTRAINT workflow_steps_name_uniq UNIQUE (trigger_id, name);\n\nCREATE TABLE IF NOT EXISTS _sc_workflow_trace (\n id serial primary key, \n run_id integer references _sc_workflow_runs(id) on delete cascade,\n user_id integer references users(id) on delete cascade,\n step_name_run text NOT NULL, \n context jsonb NOT NULL,\n status text, \n wait_info jsonb,\n step_started_at timestamp not null,\n elapsed double precision,\n error text\n);" = ...

- Defined in packages/saltcorn-data/migrations/202412111526.js:1