1
0
espelhamento de https://github.com/redmine/redmine.git sincronizado 2024-08-27 17:54:48 +02:00
redmine/db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb
Jean-Philippe Lang 7fe4a76f4c 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
2017-03-02 19:51:19 +00:00

6 linhas
134 B
Ruby

class AddIndexOnDiskFilenameToAttachments < ActiveRecord::Migration
def change
add_index :attachments, :disk_filename
end
end