-- Migration 010: decision_candle audit column on micro_signals (Layer A6)

BEGIN;

ALTER TABLE micro_signals
    ADD COLUMN IF NOT EXISTS decision_candle_uuid TEXT,
    ADD COLUMN IF NOT EXISTS decision_candle_ts  TIMESTAMPTZ;

INSERT INTO schema_versions (version, description)
VALUES (10, 'decision_candle audit columns on micro_signals')
ON CONFLICT DO NOTHING;

COMMIT;
