mirror of
https://github.com/redmine/redmine.git
synced 2024-09-13 15:45:44 +02:00
ed9f00178c
git-svn-id: http://svn.redmine.org/redmine/trunk@14293 e93f8b46-1217-0410-a6f0-8f06a7374b81
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
|