Sha256: b30ed7a9a4e33016088c084be8372972e8aaccb63ee8901bd9be0e5c27f6463d

Contents?: true

Size: 262 Bytes

Versions: 13

Compression:

Stored size: 262 Bytes

Contents

class AddIndexesToAlchemyUsers < ActiveRecord::Migration
  def up
    add_index :alchemy_users, :firstname
    add_index :alchemy_users, :lastname
  end

  def down
    remove_index :alchemy_users, :firstname
    remove_index :alchemy_users, :lastname
  end
end

Version data entries

13 entries across 10 versions & 1 rubygems

Version Path
alchemy-devise-3.6.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.5.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.5.0.beta db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.4.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.3.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.2.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-3.2.0 spec/dummy/db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0 spec/dummy/db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0.beta3 spec/dummy/db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0.beta3 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0.beta2 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb
alchemy-devise-2.1.0.beta1 db/migrate/20141209144532_add_indexes_to_alchemy_users.rb