20170507000211_add_conversation_id_to_statuses.rb 208 B

123456
  1. class AddConversationIdToStatuses < ActiveRecord::Migration[5.0]
  2. def change
  3. add_column :statuses, :conversation_id, :bigint, null: true, default: nil
  4. add_index :statuses, :conversation_id
  5. end
  6. end