1 2 3 4 5
class AddPollIdToStatuses < ActiveRecord::Migration[5.2] def change add_column :statuses, :poll_id, :bigint end end