Sha256: 4a4a8091b8bc7b62478b8a1834d4f36e2b9c89fc9b0a5b41768c9175c64dc111

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

class RemoveUniqueConstraintOnConfirmationAuthor < ActiveRecord::Migration
  def up
    remove_index :tasks_taskables_verification_confirmations, name: 'tasks_taskable_verification_confirmation_author'
    add_index :tasks_taskables_verification_confirmations, ['author_id', 'author_type'], name: 'tasks_taskable_verification_confirmation_author'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tasuku-1.1.0 db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb
tasuku-1.0.1 db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb
tasuku-0.1.1 db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb
tasuku-0.1.0 db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb
tasuku-0.0.1 db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb