ALTER TABLE `events` RENAME COLUMN "status" TO "isProcessed";--> statement-breakpoint
DROP INDEX `events_is_processed_ts_idx`;--> statement-breakpoint
CREATE INDEX `events_is_processed_ts_idx` ON `events` (`isProcessed`,`ts`);