obdev/db/migrate/20240130041504_update_addre...

11 lines
384 B
Ruby

class UpdateAddressInParticipants < ActiveRecord::Migration[7.1]
def change
add_column :participants, :address_line_1, :string
add_column :participants, :address_line_2, :string
add_column :participants, :city, :string
add_column :participants, :state, :string
add_column :participants, :zip, :string
remove_column :participants, :address, :string
end
end