Modified: branches/gsoc11-statistics/stats-server/db/schema.rb (116791 => 116792)
--- 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