Revision: 116792 https://trac.macports.org/changeset/116792 Author: cal@macports.org Date: 2014-02-07 11:32:44 -0800 (Fri, 07 Feb 2014) Log Message: ----------- macports stats: committing changes to schema.rb that have been sitting in my installation for ages now; I don't remember how they got there. Modified Paths: -------------- branches/gsoc11-statistics/stats-server/db/schema.rb Modified: branches/gsoc11-statistics/stats-server/db/schema.rb =================================================================== --- branches/gsoc11-statistics/stats-server/db/schema.rb 2014-02-07 19:31:44 UTC (rev 116791) +++ branches/gsoc11-statistics/stats-server/db/schema.rb 2014-02-07 19:32:44 UTC (rev 116792) @@ -1,3 +1,4 @@ +# encoding: UTF-8 # 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. @@ -14,16 +15,16 @@ create_table "categories", :force => true do |t| t.string "name" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "installed_ports", :force => true do |t| t.integer "port_id" t.string "version" t.text "variants" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.integer "user_id" end @@ -31,8 +32,8 @@ add_index "installed_ports", ["user_id"], :name => "index_installed_ports_on_user_id" create_table "os_statistics", :force => true do |t| - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.string "macports_version" t.string "osx_version" t.string "os_arch" @@ -56,22 +57,22 @@ t.string "maintainers" t.string "platforms" t.string "categories" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end add_index "ports", ["name"], :name => "index_ports_on_name" create_table "submissions", :force => true do |t| t.string "data" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "users", :force => true do |t| t.string "uuid" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end end