Fix rubocop spec.

This commit is contained in:
Timothy Andrew 2016-06-14 09:50:14 +05:30
parent d0bcba1105
commit faa0e3f758

View file

@ -2,7 +2,7 @@ class CreatePersonalAccessTokens < ActiveRecord::Migration
def change
create_table :personal_access_tokens do |t|
t.references :user, index: true, foreign_key: true, null: false
t.string :token, index: {unique: true}, null: false
t.string :token, index: { unique: true }, null: false
t.string :name, null: false
t.boolean :revoked, default: false
t.datetime :expires_at