Skip to content

Instantly share code, notes, and snippets.

@neophiliac
Created June 21, 2010 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neophiliac/447489 to your computer and use it in GitHub Desktop.
Save neophiliac/447489 to your computer and use it in GitHub Desktop.
create_table "permits", :force => true do |t|
t.string "number", :null => false
t.string "name", :null => false
t.string "agency_project"
t.integer "contact_id"
t.string "category"
t.string "when_req"
t.string "owner"
permit_data:
t.string "renewable"
t.boolean "startup_monitoring_reqd"
t.date "earliest_startup"
t.date "latest_startup"
recurring_event:
t.boolean "monitoring_reqd"
t.integer "monitoring_rpt_freq"
t.string "monitoring_rpt_unit"
permit_data:
t.text "conditions"
t.integer "notification_group_id"
t.integer "escalation_group_id"
t.integer "lock_version", :default => 0
all:
t.datetime "updated_at"
t.datetime "created_at"
t.integer "created_by"
t.integer "updated_by"
t.datetime "deleted_at"
permit_data:
t.float "surety_amount"
t.integer "term"
t.date "application_date"
t.date "issued_date"
t.integer "process_time"
t.float "fee_paid"
t.string "status", :limit => 8
delete:
t.date "action_date"
t.string "action_type", :limit => 32
t.date "next_notification"
all (via 'acts_as_commentable'?):
t.text "comment"
delete:
t.integer "agency_unit_id"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment