Rollback to 9d67724e
This commit is contained in:
10
drizzle/0007_awesome_genesis.sql
Normal file
10
drizzle/0007_awesome_genesis.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `passwordResetTokens` (
|
||||
`id` int AUTO_INCREMENT NOT NULL,
|
||||
`userId` int NOT NULL,
|
||||
`token` varchar(255) NOT NULL,
|
||||
`expiresAt` timestamp NOT NULL,
|
||||
`used` boolean NOT NULL DEFAULT false,
|
||||
`createdAt` timestamp NOT NULL DEFAULT (now()),
|
||||
CONSTRAINT `passwordResetTokens_id` PRIMARY KEY(`id`),
|
||||
CONSTRAINT `passwordResetTokens_token_unique` UNIQUE(`token`)
|
||||
);
|
||||
Reference in New Issue
Block a user