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.23.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.22.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.22.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.21.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.20.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.19.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.18.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.17.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.16.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.15.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.14.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.14.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.13.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.13.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.12.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.11.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.10.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.9.0 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.8.1 db/migrate/20150407225356_add_unique_index_to_users.rb
mumuki-domain-9.8.0 db/migrate/20150407225356_add_unique_index_to_users.rb