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

  1. class AddLocationsToLoad < ActiveRecord::Migration
  2. def self.up
  3. add_column :loads, :shipper, :string
  4. add_column :loads, :destination, :string
  5. add_column :loads, :origin, :string
  6. add_column :loads, :start_point, :string
  7. add_column :loads, :lookup, :integer
  8. end
  9. def self.down
  10. remove_column :loads, :lookup
  11. remove_column :loads, :start_point
  12. remove_column :loads, :origin
  13. remove_column :loads, :destination
  14. remove_column :loads, :shipper
  15. end
  16. end