New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80847


Ignore:
Timestamp:
07/18/11 15:44:59 (4 years ago)
Author:
derek@…
Message:

Updated schema

  • Removed month,year from installed_ports
  • Added index on installed_ports, ports, os_statistics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-statistics/stats-server/db/schema.rb

    r80731 r80847  
    1111# It's strongly recommended to check this file into your version control system. 
    1212 
    13 ActiveRecord::Schema.define(:version => 20110716021834) do 
     13ActiveRecord::Schema.define(:version => 20110718213618) do 
    1414 
    1515  create_table "categories", :force => true do |t| 
     
    2323    t.string   "version" 
    2424    t.text     "variants" 
    25     t.string   "month" 
    26     t.string   "year" 
    2725    t.datetime "created_at" 
    2826    t.datetime "updated_at" 
    2927    t.integer  "user_id" 
    3028  end 
     29 
     30  add_index "installed_ports", ["port_id"], :name => "index_installed_ports_on_port_id" 
     31  add_index "installed_ports", ["user_id"], :name => "index_installed_ports_on_user_id" 
    3132 
    3233  create_table "os_statistics", :force => true do |t| 
     
    4243    t.integer  "user_id" 
    4344  end 
     45 
     46  add_index "os_statistics", ["user_id"], :name => "index_os_statistics_on_user_id" 
    4447 
    4548  create_table "ports", :force => true do |t| 
     
    5861  end 
    5962 
     63  add_index "ports", ["name"], :name => "index_ports_on_name" 
     64 
    6065  create_table "submissions", :force => true do |t| 
    6166    t.string   "data" 
Note: See TracChangeset for help on using the changeset viewer.