How about making it reversible?
class RemoveCountryFromSampleApps < ActiveRecord::Migration[8.0] def up remove_column :sample_apps, :country end def down add_column :sample_apps, :country, :string end end