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.
16 lines
293 B
16 lines
293 B
class CreateLoads < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :loads do |t|
|
|
t.string :number
|
|
t.date :start_date
|
|
t.date :end_date
|
|
t.integer :hub_in
|
|
t.integer :hub_out
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :loads
|
|
end
|
|
end
|