diff --git a/server-api/migrations/2020-12-29-030934_jwt/down.sql b/server-api/migrations/2020-12-29-030934_jwt/down.sql new file mode 100644 index 0000000..14ed108 --- /dev/null +++ b/server-api/migrations/2020-12-29-030934_jwt/down.sql @@ -0,0 +1,2 @@ +-- This file should undo anything in `up.sql` +DROP TABLE `jwt`; \ No newline at end of file diff --git a/server-api/migrations/2020-12-29-030934_jwt/up.sql b/server-api/migrations/2020-12-29-030934_jwt/up.sql new file mode 100644 index 0000000..544afe2 --- /dev/null +++ b/server-api/migrations/2020-12-29-030934_jwt/up.sql @@ -0,0 +1,5 @@ +CREATE TABLE IF NOT EXISTS `jwt`( + `id` BIGINT UNSIGNED NOT NULL, + `token` VARCHAR(256) NOT NULL, + PRIMARY KEY (`id`) +); \ No newline at end of file