Speedup remove_inherited_roles (#22850).

Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@15883 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-10-02 11:45:39 +00:00
parent 19934ec2db
commit ddf249d7b0
3 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
class AddIndexOnMemberRolesInheritedFrom < ActiveRecord::Migration
def change
add_index :member_roles, :inherited_from
end
end