# Variable sql_pg`Const`

sql_pg: "CREATE TABLE IF NOT EXISTS _sc_workflow_steps (\n id serial primary key,\n name text NOT NULL,\n trigger_id integer references _sc_triggers(id) on delete cascade,\n next_step text,\n only_if text,\n action_name text NOT NULL,\n initial_step boolean,\n configuration jsonb\n);\n\nCREATE TABLE IF NOT EXISTS _sc_workflow_runs (\n id serial primary key, \n trigger_id integer references _sc_triggers(id) on delete cascade,\n context jsonb NOT NULL,\n wait_info jsonb,\n started_at timestamp not null,\n started_by int references users(id) on delete set null,\n error text,\n status text,\n current_step text\n);" = ...

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