No more jwt db checks

Also wrapping relevant db code with ok/err checks
This commit is contained in:
shockrah
2021-03-30 22:45:39 -07:00
parent 41202507c1
commit 75dcb7b73e
3 changed files with 29 additions and 39 deletions

View File

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

View File

@@ -1,5 +0,0 @@
CREATE TABLE IF NOT EXISTS `jwt`(
`id` BIGINT UNSIGNED NOT NULL,
`token` VARCHAR(256) NOT NULL,
PRIMARY KEY (`id`)
);