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() })