diff options
author | francis <francis> | 2008-07-17 03:30:54 +0000 |
---|---|---|
committer | francis <francis> | 2008-07-17 03:30:54 +0000 |
commit | ee7cdf20a631e046575ae9bc9245a8124112cb18 (patch) | |
tree | 05611bc716b6f233e44b5d9f07f8b476b376a54d /db/schema.rb | |
parent | 822b49152be3609922b96b1f2e5e4f7aec46a5c0 (diff) |
Make sure simple search results and front page listings don't require loading of raw_data in.
Add lazy load, so raw_data attribute doesn't get loaded until needed.
This is performance stuff, as the transfer for large raw data entries takes a while.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 939a07c2b..3212913c8 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 => 59) do +ActiveRecord::Schema.define(:version => 60) do create_table "acts_as_xapian_jobs", :force => true do |t| t.string "model", :null => false @@ -25,6 +25,7 @@ ActiveRecord::Schema.define(:version => 59) do t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.text "cached_attachment_text" + t.text "cached_main_body_text" end create_table "info_request_events", :force => true do |t| |