Adds an index to attachments.disk_filename (#25022).

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16352 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-03-02 19:51:19 +00:00
parent 18f431acc0
commit 7fe4a76f4c

View File

@@ -0,0 +1,5 @@
class AddIndexOnDiskFilenameToAttachments < ActiveRecord::Migration
def change
add_index :attachments, :disk_filename
end
end