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

class AddTruckInfoToEmployee < ActiveRecord::Migration
def self.up
add_column :people, :dl_number, :string
add_column :people, :dl_state, :string
add_column :people, :dl_expire, :date
add_column :people, :truck, :string
add_column :people, :trailer, :string
end
def self.down
remove_column :people, :trailer
remove_column :people, :truck
remove_column :people, :dl_expire
remove_column :people, :dl_state
remove_column :people, :dl_number
end
end