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