class SetDefaultForPlaceStatusOption < ActiveRecord::Migration[6.1]
  # def find_id_for_option_started
  #   if PlaceStatusOption.any?
  #       x = PlaceStatusOption.find_or_create_by(name: "Started")
  #   else
  #     PlaceStatusOption.create!([
  #       { name: 'Started', description: 'Do not display' },
  #       { name: 'Imported', description: 'Do not display' },
  #       { name: 'Display', description: 'Display' },
  #       { name: 'Review-Display', description: 'Display, but flagged for review' },
  #       { name: 'Review-No Display', description: 'Do not display, and flagged for review' },
  #       { name: 'Delete', description: 'Record should be deleted' },
  #       { name: 'Closed', description: 'Do not display' }
  #     ])
  #     x = PlaceStatusOption.where(name: "Started").first
  #   end

  #   x.id
  # end

  # def change
  #   change_column_default :places, :place_status_option_id, from: nil, to: find_id_for_option_started
  # end
end
