JWT Table in mysql, querying with user id's and keeping tokens in string format

This commit is contained in:
shockrah 2020-12-28 21:56:22 -08:00
parent 967782be5f
commit 2ad0136e69
2 changed files with 7 additions and 0 deletions

View File

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

View File

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