FIX: Added type table

This commit is contained in:
Alan Aasmaa 2017-10-29 20:24:28 +02:00 committed by GitHub
parent c19c0d0880
commit f658a4e895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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