You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20150528093249_add_unique_index_on_roles_managed_roles.rb 176B

12345
  1. class AddUniqueIndexOnRolesManagedRoles < ActiveRecord::Migration[4.2]
  2. def change
  3. add_index :roles_managed_roles, [:role_id, :managed_role_id], :unique => true
  4. end
  5. end