From 4b63a14198d1e7a82f6c08a4d1aa835fbc75d4ae Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 24 Jan 2011 12:18:38 -0800 Subject: [PATCH] updating schema --- db/schema.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/db/schema.rb b/db/schema.rb index 1015ff443..7f075f34f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -77,6 +77,19 @@ ActiveRecord::Schema.define(:version => 20110120182100) do add_index "data_points", ["statistic_id"], :name => "index_data_points_on_statistic_id" + create_table "histories", :force => true do |t| + t.string "message" + t.string "username" + t.integer "item" + t.string "table" + t.integer "month", :limit => 2 + t.integer "year", :limit => 8 + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "histories", ["item", "table", "month", "year"], :name => "index_histories_on_item_and_table_and_month_and_year" + create_table "invitations", :force => true do |t| t.text "message" t.integer "sender_id"