Sha256: 04ac457b901821754d580b192567e47bfc9daeec857d0867953679ebc5445d19

Contents?: true

Size: 119 Bytes

Versions: 22

Compression:

Stored size: 119 Bytes

Contents

class AddIndexToUsersEmail < ActiveRecord::Migration
  def change
    add_index :users, :email, unique: true
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
rails_magic_renamer-2.0.0.pre.alpha spec/support/sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.4.2 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.4.1 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.3.2 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.3.1 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.3 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.4 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.3 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.11 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.10 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.9 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.8 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.7 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.6 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.5 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.4 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.3 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.2 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb
active_mocker-1.2.pre.1 sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb