17 lines
512 B
PL/PgSQL
17 lines
512 B
PL/PgSQL
BEGIN;
|
|
|
|
SET ROLE work_role;
|
|
|
|
ALTER TABLE work.agent_dispatch_intents
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_profile JSONB,
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_cases JSONB NOT NULL DEFAULT '[]',
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_execution JSONB;
|
|
|
|
ALTER TABLE work.graph_nodes
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_profile JSONB,
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_cases JSONB NOT NULL DEFAULT '[]',
|
|
ADD COLUMN IF NOT EXISTS task_evaluation_execution JSONB;
|
|
|
|
RESET ROLE;
|
|
COMMIT;
|