blob: d1ef7c2905c76f0ba7b771cae8677d082515326c (
plain) (
blame)
1
2
3
4
5
6
|
class AddConversationIdToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :conversation_id, :bigint, null: true, default: nil
add_index :statuses, :conversation_id
end
end
|