20170507000211_add_conversation_id_to_statuses.rb 239 B

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