internetee-registry/db/migrate/20150203135303_add_new_address_fields_to_registrar.rb
2021-04-26 18:54:26 +05:00

10 lines
395 B
Ruby

class AddNewAddressFieldsToRegistrar < ActiveRecord::Migration[6.0]
def change
# get rid of old addresses, we will be migrating from the old db soon anyway
remove_column :registrars, :address, :string
add_column :registrars, :state, :string
add_column :registrars, :city, :string
add_column :registrars, :street, :string
add_column :registrars, :zip, :string
end
end