ALTER TABLE `cash_flows` ADD `excluded` integer DEFAULT false NOT NULL;
--> statement-breakpoint
ALTER TABLE `cash_flows` ADD `is_forecast` integer DEFAULT false NOT NULL;
--> statement-breakpoint
ALTER TABLE `cash_flows` ADD `note` text;
--> statement-breakpoint
CREATE INDEX `idx_cash_flows_calculation_date` ON `cash_flows` (`active`,`excluded`,`planned_date`);
--> statement-breakpoint
PRAGMA optimize;
