Initial local backup snapshot

This commit is contained in:
Selecta Keke 2026-06-24 00:02:55 -03:00
commit acd9e14ba5
367 changed files with 118038 additions and 0 deletions

View file

@ -0,0 +1,19 @@
CREATE TABLE `associationInvitations` (
`id` int AUTO_INCREMENT NOT NULL,
`directoryEntryId` int NOT NULL,
`emailOfficiel` varchar(320) NOT NULL,
`emailOfficielNormalise` varchar(320) NOT NULL,
`token` varchar(128) NOT NULL,
`deliveryMode` enum('email','manual_link') NOT NULL,
`emailSent` boolean NOT NULL DEFAULT false,
`sentByUserId` int NOT NULL,
`sentAt` timestamp NOT NULL DEFAULT now(),
`expiresAt` timestamp NOT NULL,
`usedAt` timestamp,
`revokedAt` timestamp,
`acceptedByUserId` int,
`createdAt` timestamp NOT NULL DEFAULT now(),
`updatedAt` timestamp NOT NULL DEFAULT now() ON UPDATE CURRENT_TIMESTAMP,
CONSTRAINT `associationInvitations_id` PRIMARY KEY(`id`),
CONSTRAINT `associationInvitations_token_unique` UNIQUE(`token`)
);