122-create-pricing-stub.sql
1 -- Migration 122: Create pricing stub table 2 -- The messages table has a pricing_id REFERENCES pricing(id) column 3 -- (added alongside sequence_step/scheduled_send_at) but the pricing table 4 -- was never created. This stub satisfies the FK constraint. 5 -- pricing_id is always NULL in practice — this table is a placeholder. 6 7 CREATE TABLE IF NOT EXISTS pricing ( 8 id INTEGER PRIMARY KEY AUTOINCREMENT 9 );