From 1fd5251376d5a7366e7e8b4d70af8db59d8ebb3d Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 2 Jun 2017 10:18:54 -0400 Subject: Add index to media_attachments.account_id (#3510) --- .../20170601210557_add_index_on_media_attachments_account_id.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20170601210557_add_index_on_media_attachments_account_id.rb (limited to 'db/migrate') 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 -- cgit