You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
466 B
17 lines
466 B
class AddAddressToEmployee < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :people, :street, :string
|
|
add_column :people, :city, :string
|
|
add_column :people, :state, :string
|
|
add_column :people, :zip, :string
|
|
add_column :people, :phone, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :people, :phone
|
|
remove_column :people, :zip
|
|
remove_column :people, :state
|
|
remove_column :people, :city
|
|
remove_column :people, :street
|
|
end
|
|
end
|