CREATE TABLE `rappels` (
	`id` int AUTO_INCREMENT NOT NULL,
	`nom` varchar(255) NOT NULL,
	`templateType` varchar(50) NOT NULL,
	`joursAvant` int NOT NULL,
	`heureEnvoi` varchar(5) NOT NULL DEFAULT '09:00',
	`actif` boolean NOT NULL DEFAULT true,
	`derniereExecution` timestamp,
	`createdAt` timestamp NOT NULL DEFAULT (now()),
	`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
	CONSTRAINT `rappels_id` PRIMARY KEY(`id`)
);
