-- Add tariff reference to bookings ALTER TABLE bookings ADD COLUMN IF NOT EXISTS tariff_id UUID REFERENCES tariffs(id) ON DELETE SET NULL;