internetee-registry/db/migrate/20150203135303_add_new_address_fields_to_registrar.rb
2015-02-03 17:09:10 +02:00

10 lines
390 B
Ruby

class AddNewAddressFieldsToRegistrar < ActiveRecord::Migration
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