class AddPlanIdToPlan < ActiveRecord::Migration[7.2] def change add_column :plans, :plan_id, :integer end end