2a34255e0b
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
10 lines
314 B
Ruby
10 lines
314 B
Ruby
class AddIndexOnFbPage < ActiveRecord::Migration[5.0]
|
|
def change
|
|
add_index :facebook_pages, :page_id
|
|
add_index :conversations, :account_id
|
|
add_index :contacts, :account_id
|
|
add_index :inbox_members, :inbox_id
|
|
add_index :inboxes, :account_id
|
|
add_index :messages, :conversation_id
|
|
end
|
|
end
|