12 lines
350 B
Ruby
12 lines
350 B
Ruby
class UpdateAddressInWorkers < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :workers, :address_line_1, :string
|
|
add_column :workers, :address_line_2, :string
|
|
add_column :workers, :city, :string
|
|
add_column :workers, :state, :string
|
|
add_column :workers, :zip, :string
|
|
remove_column :workers, :address, :string
|
|
end
|
|
end
|
|
|