Files
quote-judge-studio-v1/db/migrations/002_quotejudge_schema_repair.sql

11 lines
420 B
SQL

ALTER TABLE quote_comparisons
ADD COLUMN IF NOT EXISTS recommended_vendor TEXT,
ADD COLUMN IF NOT EXISTS score DOUBLE PRECISION,
ADD COLUMN IF NOT EXISTS normalized_total DOUBLE PRECISION;
ALTER TABLE quote_execution_receipts
ADD COLUMN IF NOT EXISTS skill_name TEXT,
ADD COLUMN IF NOT EXISTS status TEXT,
ADD COLUMN IF NOT EXISTS input_hash TEXT,
ADD COLUMN IF NOT EXISTS result_hash TEXT;