Initial local backup snapshot
This commit is contained in:
commit
acd9e14ba5
367 changed files with 118038 additions and 0 deletions
19
drizzle/0009_association_invitations.sql
Normal file
19
drizzle/0009_association_invitations.sql
Normal 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`)
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue