diff options
author | francis <francis> | 2008-04-15 23:53:10 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-15 23:53:10 +0000 |
commit | f95573cb2ef05586be88439b5b645460029e76e2 (patch) | |
tree | 25a332f0454c893850804fbb8736d0099193fb66 /db/schema.rb | |
parent | b35d9905c4ee33614cdd6f5280121359ffab0b71 (diff) |
Store incoming and outgoing message id in the table for info request events, so has proper foreign key.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/db/schema.rb b/db/schema.rb index 5e1982b16..331f7adbe 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 51) do +ActiveRecord::Schema.define(:version => 52) do create_table "incoming_messages", :force => true do |t| t.integer "info_request_id", :null => false @@ -19,13 +19,15 @@ ActiveRecord::Schema.define(:version => 51) do end create_table "info_request_events", :force => true do |t| - t.integer "info_request_id", :null => false - t.text "event_type", :null => false - t.text "params_yaml", :null => false - t.datetime "created_at", :null => false + t.integer "info_request_id", :null => false + t.text "event_type", :null => false + t.text "params_yaml", :null => false + t.datetime "created_at", :null => false t.string "described_state" t.string "calculated_state" t.datetime "last_described_at" + t.integer "incoming_message_id" + t.integer "outgoing_message_id" end create_table "info_requests", :force => true do |t| |