ALTER TABLE orders
ADD COLUMN sent_result_event_at timestamptz DEFAULT '2009-12-31 21:00:00 UTC';

-- indexes

CREATE INDEX ix_orders_booking_verdict
ON orders
USING btree (booking_verdict);

CREATE INDEX ix_orders_biz_id
ON orders
USING btree (biz_id);

CREATE INDEX ix_orders_client_id
ON orders
USING btree (client_id);

CREATE INDEX ix_orders_sent_result_event_at
ON orders
USING btree (sent_result_event_at)
WHERE sent_result_event_at IS NULL;