Commit 1b1b8272679daf6070f18508e320a759b14f592b

Authored by Antonio Terceiro
1 parent 255ada06

Updating DB schema

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
@@ -14,15 +14,15 @@ ActiveRecord::Schema.define(:version => 20100921121528) do @@ -14,15 +14,15 @@ ActiveRecord::Schema.define(:version => 20100921121528) do
14 create_table "action_tracker", :force => true do |t| 14 create_table "action_tracker", :force => true do |t|
15 t.integer "user_id" 15 t.integer "user_id"
16 t.string "user_type" 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 t.text "params" 19 t.text "params"
20 t.string "verb" 20 t.string "verb"
21 t.datetime "created_at" 21 t.datetime "created_at"
22 t.datetime "updated_at" 22 t.datetime "updated_at"
23 end 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 add_index "action_tracker", ["user_id", "user_type"], :name => "index_action_tracker_on_user_id_and_user_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" 27 add_index "action_tracker", ["verb"], :name => "index_action_tracker_on_verb"
28 28