mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 05:58:46 +02:00
6 lines
171 B
Ruby
6 lines
171 B
Ruby
|
class AddUniqueIndexOnRolesManagedRoles < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :roles_managed_roles, [:role_id, :managed_role_id], :unique => true
|
||
|
end
|
||
|
end
|