From 5365e583e52d79dfe9e5358d6c22d611ccb73204 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 28 Aug 2020 16:25:40 -0700 Subject: [PATCH] removing unused sessions table --- server-api/migrations/2020-05-17-225334_sessions/down.sql | 2 -- server-api/migrations/2020-05-17-225334_sessions/up.sql | 8 -------- 2 files changed, 10 deletions(-) delete mode 100644 server-api/migrations/2020-05-17-225334_sessions/down.sql delete mode 100644 server-api/migrations/2020-05-17-225334_sessions/up.sql diff --git a/server-api/migrations/2020-05-17-225334_sessions/down.sql b/server-api/migrations/2020-05-17-225334_sessions/down.sql deleted file mode 100644 index 4d41ad6..0000000 --- a/server-api/migrations/2020-05-17-225334_sessions/down.sql +++ /dev/null @@ -1,2 +0,0 @@ --- This file should undo anything in `up.sql` -DROP TABLE `sessions`; \ No newline at end of file diff --git a/server-api/migrations/2020-05-17-225334_sessions/up.sql b/server-api/migrations/2020-05-17-225334_sessions/up.sql deleted file mode 100644 index 1a7b9f9..0000000 --- a/server-api/migrations/2020-05-17-225334_sessions/up.sql +++ /dev/null @@ -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`) -); \ No newline at end of file