Commit 1b1b8272679daf6070f18508e320a759b14f592b
1 parent
255ada06
Exists in
master
and in
29 other branches
Updating DB schema
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
db/schema.rb
... | ... | @@ -14,15 +14,15 @@ ActiveRecord::Schema.define(:version => 20100921121528) do |
14 | 14 | create_table "action_tracker", :force => true do |t| |
15 | 15 | t.integer "user_id" |
16 | 16 | t.string "user_type" |
17 | - t.integer "dispatcher_id" | |
18 | - t.string "dispatcher_type" | |
17 | + t.integer "target_id" | |
18 | + t.string "target_type" | |
19 | 19 | t.text "params" |
20 | 20 | t.string "verb" |
21 | 21 | t.datetime "created_at" |
22 | 22 | t.datetime "updated_at" |
23 | 23 | end |
24 | 24 | |
25 | - add_index "action_tracker", ["dispatcher_id", "dispatcher_type"], :name => "index_action_tracker_on_dispatcher_id_and_dispatcher_type" | |
25 | + add_index "action_tracker", ["target_id", "target_type"], :name => "index_action_tracker_on_dispatcher_id_and_dispatcher_type" | |
26 | 26 | add_index "action_tracker", ["user_id", "user_type"], :name => "index_action_tracker_on_user_id_and_user_type" |
27 | 27 | add_index "action_tracker", ["verb"], :name => "index_action_tracker_on_verb" |
28 | 28 | ... | ... |