From f658a4e89588f853366b62ea2f19ece61db8b561 Mon Sep 17 00:00:00 2001 From: Alan Aasmaa Date: Sun, 29 Oct 2017 20:24:28 +0200 Subject: [PATCH] FIX: Added type table --- database/migrations/1503248427886_token.js | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/1503248427886_token.js b/database/migrations/1503248427886_token.js index 1523c07..ae9c948 100644 --- a/database/migrations/1503248427886_token.js +++ b/database/migrations/1503248427886_token.js @@ -8,6 +8,7 @@ class TokensSchema extends Schema { table.increments() table.integer('user_id').unsigned().references('id').inTable('users') table.string('token', 40).notNullable().unique() + table.string('type', 80).notNullable() table.boolean('is_revoked').defaultTo(false) table.timestamps() })