ALTER TABLE `cash_flows` ADD `reconciled` integer DEFAULT false NOT NULL;
--> statement-breakpoint
ALTER TABLE `cash_flows` ADD `reconciled_at` text;
--> statement-breakpoint
CREATE INDEX `idx_cash_flows_reconciliation` ON `cash_flows` (`company_id`,`reconciled`,`planned_date`);
--> statement-breakpoint
PRAGMA optimize;
