removing unused sessions table

This commit is contained in:
shockrah 2020-08-28 16:25:40 -07:00
parent 73f050be62
commit 5365e583e5
2 changed files with 0 additions and 10 deletions

View File

@ -1,2 +0,0 @@
-- This file should undo anything in `up.sql`
DROP TABLE `sessions`;

View File

@ -1,8 +0,0 @@
-- id's are given back to the user otherwise everything is server sided
-- NOTE: the expires column is not explicitly a date because the code required
-- to make the DATE field work with diesel is ass and looks annoying
CREATE TABLE IF NOT EXISTS `sessions` (
`secret` varchar(255) NOT NULL,
`expires` bigint UNSIGNED NOT NULL,
PRIMARY KEY(`secret`)
);