diff --git a/db/migrate/20160415062917_create_personal_access_tokens.rb b/db/migrate/20160415062917_create_personal_access_tokens.rb index 2c9f773e3084f461e0c6d0d39988f8583656cdc0..ce0b33f32bd0d07dd6550eaab095e4651f4b91ca 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