-- Add reminder table for email reminders 1 hour before registration opens
CREATE TABLE `reminder` (
	`id` text PRIMARY KEY NOT NULL,
	`email` text NOT NULL,
	`sent_at` integer,
	`created_at` integer DEFAULT (cast(unixepoch('subsecond') * 1000 as integer)) NOT NULL
);
--> statement-breakpoint
CREATE INDEX `reminder_email_idx` ON `reminder` (`email`);
