Commit 54eb62df543ef1192577e2db7de19eb228136dfa
1 parent
59338e3f
Exists in
master
and in
29 other branches
Upgrading DB schema
(ActionItem1303)
Showing
1 changed file
with
30 additions
and
1 deletions
Show diff stats
db/schema.rb
@@ -9,7 +9,27 @@ | @@ -9,7 +9,27 @@ | ||
9 | # | 9 | # |
10 | # It's strongly recommended to check this file into your version control system. | 10 | # It's strongly recommended to check this file into your version control system. |
11 | 11 | ||
12 | -ActiveRecord::Schema.define(:version => 20100909103951) do | 12 | +ActiveRecord::Schema.define(:version => 20100910205427) do |
13 | + | ||
14 | + create_table "action_tracker", :force => true do |t| | ||
15 | + t.integer "user_id" | ||
16 | + t.string "user_type" | ||
17 | + t.integer "dispatcher_id" | ||
18 | + t.string "dispatcher_type" | ||
19 | + t.text "params" | ||
20 | + t.string "verb" | ||
21 | + t.datetime "created_at" | ||
22 | + t.datetime "updated_at" | ||
23 | + end | ||
24 | + | ||
25 | + add_index "action_tracker", ["dispatcher_id", "dispatcher_type"], :name => "index_action_tracker_on_dispatcher_id_and_dispatcher_type" | ||
26 | + add_index "action_tracker", ["user_id", "user_type"], :name => "index_action_tracker_on_user_id_and_user_type" | ||
27 | + add_index "action_tracker", ["verb"], :name => "index_action_tracker_on_verb" | ||
28 | + | ||
29 | + create_table "action_tracker_notifications", :force => true do |t| | ||
30 | + t.integer "action_tracker_id" | ||
31 | + t.integer "profile_id" | ||
32 | + end | ||
13 | 33 | ||
14 | create_table "article_versions", :force => true do |t| | 34 | create_table "article_versions", :force => true do |t| |
15 | t.integer "article_id" | 35 | t.integer "article_id" |
@@ -387,6 +407,15 @@ ActiveRecord::Schema.define(:version => 20100909103951) do | @@ -387,6 +407,15 @@ ActiveRecord::Schema.define(:version => 20100909103951) do | ||
387 | t.integer "environment_id" | 407 | t.integer "environment_id" |
388 | end | 408 | end |
389 | 409 | ||
410 | + create_table "scraps", :force => true do |t| | ||
411 | + t.text "content" | ||
412 | + t.integer "sender_id" | ||
413 | + t.integer "receiver_id" | ||
414 | + t.integer "scrap_id" | ||
415 | + t.datetime "created_at" | ||
416 | + t.datetime "updated_at" | ||
417 | + end | ||
418 | + | ||
390 | create_table "taggings", :force => true do |t| | 419 | create_table "taggings", :force => true do |t| |
391 | t.integer "tag_id" | 420 | t.integer "tag_id" |
392 | t.integer "taggable_id" | 421 | t.integer "taggable_id" |