Fix rubocop spec.
This commit is contained in:
parent
d0bcba1105
commit
faa0e3f758
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue