Basis of rails-driven app for local business
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
466 B

  1. class AddAddressToEmployee < ActiveRecord::Migration
  2. def self.up
  3. add_column :people, :street, :string
  4. add_column :people, :city, :string
  5. add_column :people, :state, :string
  6. add_column :people, :zip, :string
  7. add_column :people, :phone, :string
  8. end
  9. def self.down
  10. remove_column :people, :phone
  11. remove_column :people, :zip
  12. remove_column :people, :state
  13. remove_column :people, :city
  14. remove_column :people, :street
  15. end
  16. end