Patch #25022 » 0001-adds-an-index-to-attachments.disk_filename.patch
| db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb | ||
|---|---|---|
|
class AddIndexOnDiskFilenameToAttachments < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :attachments, :disk_filename
|
||
|
end
|
||
|
end
|
||