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
496 B

  1. class AddTruckInfoToEmployee < ActiveRecord::Migration
  2. def self.up
  3. add_column :people, :dl_number, :string
  4. add_column :people, :dl_state, :string
  5. add_column :people, :dl_expire, :date
  6. add_column :people, :truck, :string
  7. add_column :people, :trailer, :string
  8. end
  9. def self.down
  10. remove_column :people, :trailer
  11. remove_column :people, :truck
  12. remove_column :people, :dl_expire
  13. remove_column :people, :dl_state
  14. remove_column :people, :dl_number
  15. end
  16. end