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