CREATE TABLE `rappels` ( `id` int AUTO_INCREMENT NOT NULL, `nom` varchar(255) NOT NULL, `joursAvant` int NOT NULL, `emailTemplate` text NOT NULL, `actif` boolean NOT NULL DEFAULT true, `createdAt` timestamp NOT NULL DEFAULT (now()), `updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP, CONSTRAINT `rappels_id` PRIMARY KEY(`id`) ); --> statement-breakpoint CREATE TABLE `rappelsEnvoyes` ( `id` int AUTO_INCREMENT NOT NULL, `rappelId` int NOT NULL, `inscriptionId` int NOT NULL, `dateEnvoi` timestamp NOT NULL DEFAULT (now()), CONSTRAINT `rappelsEnvoyes_id` PRIMARY KEY(`id`) );