Skip to content

Instantly share code, notes, and snippets.

@LukeShu
Created June 14, 2012 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LukeShu/2930655 to your computer and use it in GitHub Desktop.
Save LukeShu/2930655 to your computer and use it in GitHub Desktop.
[rails@gort migrate]$ grep -C20 lrp_reports *
20120208202334_create_lrp_reports.rb-class CreateLrpReports < ActiveRecord::Migration
20120208202334_create_lrp_reports.rb- def change
20120208202334_create_lrp_reports.rb: create_table :lrp_reports do |t|
20120208202334_create_lrp_reports.rb- t.datetime :generated
20120208202334_create_lrp_reports.rb- t.string :buildversion
20120208202334_create_lrp_reports.rb- t.datetime :buildtime
20120208202334_create_lrp_reports.rb-
20120208202334_create_lrp_reports.rb- t.timestamps
20120208202334_create_lrp_reports.rb- end
20120208202334_create_lrp_reports.rb- end
20120208202334_create_lrp_reports.rb-end
--
20120608151958_add_md5sum_to_lrp_reports.rb-class AddMd5sumToLrpReports < ActiveRecord::Migration
20120608151958_add_md5sum_to_lrp_reports.rb- def change
20120608151958_add_md5sum_to_lrp_reports.rb: add_column :lrp_reports, :md5sum, :string
20120608151958_add_md5sum_to_lrp_reports.rb-
20120608151958_add_md5sum_to_lrp_reports.rb- end
20120608151958_add_md5sum_to_lrp_reports.rb-end
--
20120612175630_add_baseurl_to_lrp_reports.rb-class AddBaseurlToLrpReports < ActiveRecord::Migration
20120612175630_add_baseurl_to_lrp_reports.rb- def change
20120612175630_add_baseurl_to_lrp_reports.rb: add_column :lrp_reports, :baseurl, :string
20120612175630_add_baseurl_to_lrp_reports.rb-
20120612175630_add_baseurl_to_lrp_reports.rb- end
20120612175630_add_baseurl_to_lrp_reports.rb-end
--
20120612203006_add_date_to_lrp_reports.rb-class AddDateToLrpReports < ActiveRecord::Migration
20120612203006_add_date_to_lrp_reports.rb- def change
20120612203006_add_date_to_lrp_reports.rb: add_column :lrp_reports, :date, :date
20120612203006_add_date_to_lrp_reports.rb-
20120612203006_add_date_to_lrp_reports.rb- end
20120612203006_add_date_to_lrp_reports.rb-end
# 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 => 20120612203006) do
create_table "beacon_id_reports", :force => true do |t|
t.integer "lrp_report_id"
t.integer "beaconid"
t.float "maxvoltage"
t.float "minvoltage"
t.string "firmware"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "beacon_number_reports", :force => true do |t|
t.integer "lrp_report_id"
t.integer "beaconnum"
t.float "x"
t.float "y"
t.integer "beaconid"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "beacon2id"
end
create_table "code_reports", :force => true do |t|
t.integer "lrp_report_id"
t.integer "code"
t.string "description"
t.integer "count"
t.float "maxduration"
t.time "firstactivetime"
t.string "faultlevel"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "datatypes", :force => true do |t|
t.string "name"
t.integer "datatype"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "lrp_reports", :force => true do |t|
t.datetime "generated"
t.string "buildversion"
t.datetime "buildtime"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "md5sum"
t.string "baseurl"
t.date "date"
end
create_table "path_info_report_items", :force => true do |t|
t.integer "lrp_report_id"
t.string "name"
t.string "value"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "pathconfig_report_items", :force => true do |t|
t.integer "lrp_report_id"
t.string "name"
t.string "value"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "report_links", :force => true do |t|
t.integer "lrp_report_id"
t.string "url"
t.string "text"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "version_info_reports", :force => true do |t|
t.integer "lrp_report_id"
t.string "name"
t.string "verid"
t.date "date"
t.string "svnversion"
t.string "serialnumber"
t.string "buildversion"
t.string "firmwareversion"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment