Sha256: 952c684d2071afe633d131739eaf1dbc8c99576c37de58ee4683065eaa5ff49c

Contents?: true

Size: 183 Bytes

Versions: 9

Compression:

Stored size: 183 Bytes

Contents

class AddAuthenticationTokenToUsers < ActiveRecord::Migration
  def change
    add_column :users, :authentication_token, :string
    add_index :users, :authentication_token
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
devise-ios-rails-1.0.2 spec/dummy/db/migrate/20141127114158_add_authentication_token_to_users.rb
devise-ios-rails-1.0.1 spec/dummy/db/migrate/20141127114158_add_authentication_token_to_users.rb
devise-ios-rails-1.0.0 spec/dummy/db/migrate/20141127114158_add_authentication_token_to_users.rb
simple_token_authentication-1.4.0 spec/dummy/db/migrate/20140524163546_add_authentication_token_to_users.rb
simple_token_authentication-1.2.1 spec/dummy/db/migrate/20140426184324_add_authentication_token_to_users.rb
simple_token_authentication-1.2.0 spec/dummy/db/migrate/20140223182310_add_authentication_token_to_users.rb
simple_token_authentication-1.1.1 spec/dummy/db/migrate/20140220091355_add_authentication_token_to_users.rb
simple_token_authentication-1.1.0 spec/dummy/db/migrate/20140220080144_add_authentication_token_to_users.rb
simple_token_authentication-1.0.1 spec/dummy/db/migrate/20140126083111_add_authentication_token_to_users.rb