Renaming project to json-api for clarity sake
This commit is contained in:
2
json-api/migrations/2020-12-29-030934_jwt/down.sql
Normal file
2
json-api/migrations/2020-12-29-030934_jwt/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE `jwt`;
|
||||
5
json-api/migrations/2020-12-29-030934_jwt/up.sql
Normal file
5
json-api/migrations/2020-12-29-030934_jwt/up.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE IF NOT EXISTS `jwt`(
|
||||
`id` BIGINT UNSIGNED NOT NULL,
|
||||
`token` VARCHAR(256) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
Reference in New Issue
Block a user