Sha256: d177bb7bb1461de68b488eb82f623e1fd58fa5348facc41a67b0934fac87f200

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

class RemoveUniqueUserIdConstraintOnGringottsAttempts < ActiveRecord::Migration
  def change
    remove_index :gringotts_attempts, :user_id
    add_index    :gringotts_attempts, :user_id, :unique => false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gringotts-0.6.7 db/migrate/20131024082959_remove_unique_user_id_constraint_on_gringotts_attempts.rb
gringotts-0.6.5 db/migrate/20131024082959_remove_unique_user_id_constraint_on_gringotts_attempts.rb