Sha256: 463e0c48e14e6518e806595a1f278e7b7d71dd77a65aac9cea71b498883b55e7

Contents?: true

Size: 124 Bytes

Versions: 160

Compression:

Stored size: 124 Bytes

Contents

class AddUniqueIndexToUsers < ActiveRecord::Migration[4.2]
  def change
    add_index :users, :name, unique: true
  end
end

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-domain-9.7.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.6.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.5.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.4.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.3.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.2.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.2.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.1.2 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.1.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.1.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.6 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.5 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.4 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.3 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.2 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.0.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-8.6.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-8.6.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-8.5.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-8.4.0 db/migrate/20150407225356_add_unique_index_to_users.rb