Sha256: 36394948cd40c50bcdf67e0e56a2754bfd5e5a22c3e08556fc2c78265ea7a62f

Contents?: true

Size: 196 Bytes

Versions: 61

Compression:

Stored size: 196 Bytes

Contents

class AddIndexOnUsersPersistenceToken < ActiveRecord::Migration
  def self.up
    add_index :users, :persistence_token
  end

  def self.down
    remove_index :users, :persistence_token
  end
end

Version data entries

61 entries across 49 versions & 10 rubygems

Version Path
spree_core-0.70.7 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
spree-0.11.4 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
spree_core-0.70.6 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
apispree_core-0.0.0 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
My-Commerce_core-1.1.0 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
My-Commerce_core-1.0.0 db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 core/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 core/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 sandbox/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb