sample db things and updated invites table structure to allow for greater entropy pools

This commit is contained in:
shockrah 2020-02-04 00:44:55 -08:00
parent 7b8d849758
commit 7ea474f044
3 changed files with 9 additions and 0 deletions

1
server/.env Normal file
View File

@ -0,0 +1 @@
DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat_sample_db

View File

@ -0,0 +1 @@
-- This file should undo anything in `up.sql`

View 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` )
);