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.
62 lines
2.3 KiB
62 lines
2.3 KiB
# This file is auto-generated from the current state of the database. Instead of editing this file,
|
|
# please use the migrations feature of Active Record to incrementally modify your database, and
|
|
# then regenerate this schema definition.
|
|
#
|
|
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
|
# to create the application database on another system, you should be using db:schema:load, not running
|
|
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
#
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
ActiveRecord::Schema.define(:version => 20090311215350) do
|
|
|
|
create_table "loads", :force => true do |t|
|
|
t.string "number"
|
|
t.date "start_date"
|
|
t.date "end_date"
|
|
t.integer "hub_in"
|
|
t.integer "hub_out"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
t.string "shipper"
|
|
t.string "destination"
|
|
t.string "origin"
|
|
t.string "start_point"
|
|
t.integer "lookup"
|
|
t.string "truck"
|
|
t.string "trailer"
|
|
t.decimal "fuel_gallons", :precision => 8, :scale => 3, :default => 0.0
|
|
t.decimal "fuel_cost", :precision => 8, :scale => 2, :default => 0.0
|
|
t.decimal "scales", :precision => 6, :scale => 2, :default => 0.0
|
|
t.decimal "loading", :precision => 6, :scale => 2, :default => 0.0
|
|
t.decimal "unloading", :precision => 6, :scale => 2, :default => 0.0
|
|
t.integer "stops", :default => 0
|
|
end
|
|
|
|
create_table "people", :force => true do |t|
|
|
t.string "firstname"
|
|
t.string "lastname"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
t.string "type"
|
|
t.string "number"
|
|
t.string "ssn"
|
|
t.date "dob"
|
|
t.date "hired"
|
|
t.string "tax_status"
|
|
t.integer "dependents", :default => 0
|
|
t.decimal "payrate", :precision => 4, :scale => 2, :default => 0.25
|
|
t.string "street"
|
|
t.string "city"
|
|
t.string "state"
|
|
t.string "zip"
|
|
t.string "phone"
|
|
t.string "dl_number"
|
|
t.string "dl_state"
|
|
t.date "dl_expire"
|
|
t.string "truck"
|
|
t.string "trailer"
|
|
end
|
|
|
|
end
|