summaryrefslogtreecommitdiffstats
path: root/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb
blob: c208736292e70b97bcc0fcff70ceeb671feea215 (plain)
1
2
3
4
5
class AddUniqueIndexOnRolesManagedRoles < ActiveRecord::Migration[4.2]
  def change
    add_index :roles_managed_roles, [:role_id, :managed_role_id], :unique => true
  end
end