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

This commit is contained in:
shockrah committed 2020-02-04 00:44:55 -08:00
1 parent 7b8d849758
commit 7ea474f044
3 files changed
+9

No files matched your search

+1
View File
@@ -0,0 +1 @@
DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat_sample_db
@@ -0,0 +1 @@
-- This file should undo anything in `up.sql`
@@ -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` )
);