diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170601210557_add_index_on_media_attachments_account_id.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170601210557_add_index_on_media_attachments_account_id.rb b/db/migrate/20170601210557_add_index_on_media_attachments_account_id.rb new file mode 100644 index 000000000..c51ab28e5 --- /dev/null +++ b/db/migrate/20170601210557_add_index_on_media_attachments_account_id.rb @@ -0,0 +1,5 @@ +class AddIndexOnMediaAttachmentsAccountId < ActiveRecord::Migration[5.1] + def change + add_index :media_attachments, :account_id + end +end |