diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-06-14 09:50:14 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-06-14 09:50:14 +0530 |
commit | faa0e3f7580bc38d4d12916b4589c64d6c2678a7 (patch) | |
tree | dbd1541f89c75a4a702fa17f2d2e355d68f6985d /db | |
parent | d0bcba1105686c2306414a402bf33c85a08a17a6 (diff) | |
download | gitlab-ce-faa0e3f7580bc38d4d12916b4589c64d6c2678a7.tar.gz |
Fix rubocop spec.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160415062917_create_personal_access_tokens.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160415062917_create_personal_access_tokens.rb b/db/migrate/20160415062917_create_personal_access_tokens.rb index 2c9f773e308..ce0b33f32bd 100644 --- a/db/migrate/20160415062917_create_personal_access_tokens.rb +++ b/db/migrate/20160415062917_create_personal_access_tokens.rb @@ -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 |