sample db things and updated invites table structure to allow for greater entropy pools
This commit is contained in:
parent
7b8d849758
commit
7ea474f044
1
server/.env
Normal file
1
server/.env
Normal file
@ -0,0 +1 @@
|
||||
DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat_sample_db
|
1
server/migrations/2020-02-04-083657_invites/down.sql
Normal file
1
server/migrations/2020-02-04-083657_invites/down.sql
Normal file
@ -0,0 +1 @@
|
||||
-- This file should undo anything in `up.sql`
|
7
server/migrations/2020-02-04-083657_invites/up.sql
Normal file
7
server/migrations/2020-02-04-083657_invites/up.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS `invites` (
|
||||
`id` bigint NOT NULL,
|
||||
`expires` datetime,
|
||||
`uses` numeric(9,2),
|
||||
PRIMARY KEY( `id` )
|
||||
);
|
Loading…
Reference in New Issue
Block a user