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