Add Column

Cancel

Current Schema

CREATE TABLE fact_sources  (
  fact_id TEXT NOT NULL,
  event_id TEXT NOT NULL,
  PRIMARY KEY (fact_id, event_id),
  FOREIGN KEY (fact_id) REFERENCES facts(id) ON DELETE RESTRICT DEFERRABLE INITIALLY DEFERRED,
  FOREIGN KEY (event_id) REFERENCES events(id) ON DELETE RESTRICT DEFERRABLE INITIALLY DEFERRED
)