new_users cache table
reset sql added for dev purposes
This commit is contained in:
parent
3d7547007a
commit
c2c82aec9b
@ -1 +1,2 @@
|
|||||||
-- This file should undo anything in `up.sql`
|
-- This file should undo anything in `up.sql`
|
||||||
|
DROP TABLE `invites`;
|
2
server/migrations/2020-02-07-231841_new_users/down.sql
Normal file
2
server/migrations/2020-02-07-231841_new_users/down.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
-- This file should undo anything in `up.sql`
|
||||||
|
DROP TABLE `new_users`;
|
6
server/migrations/2020-02-07-231841_new_users/up.sql
Normal file
6
server/migrations/2020-02-07-231841_new_users/up.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Used only for those that have been given an invite and are currently using that invite
|
||||||
|
CREATE TABLE IF NOT EXISTS `new_users` (
|
||||||
|
`token` bigint NOT NULL,
|
||||||
|
`invite_id` bigint NOT NULL,
|
||||||
|
PRIMARY KEY(`token`)
|
||||||
|
);
|
Loading…
Reference in New Issue
Block a user