Commit 906dd8d6 authored by zhitomirskiyi's avatar zhitomirskiyi

added the migration

parent 9e22f4a6
class AddUniqueIndexOnInvitationServiceAndInvitationIdentifierToUsers < ActiveRecord::Migration
def self.up
add_index(:users, [:invitation_service, :invitation_identifier], :unique => true)
end
def self.down
remove_index(:users, [:invitation_service, :invitation_identifier])
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment