Chatwoot/db/migrate/20170406091955_add_display_id_to_conversations.rb

7 lines
198 B
Ruby
Raw Normal View History

class AddDisplayIdToConversations < ActiveRecord::Migration[5.0]
def change
add_column :conversations, :display_id, :integer
add_index :conversations, [:account_id, :display_id]
end
end