Skip to content

A platform for community discussion. Free, open, simple.

Exclude large tables when remapping in `Upload.migrate_to_new_scheme`.

Guo Xiang Tan4a03b21f80db
diff --git a/app/models/upload.rb b/app/models/upload.rb
index e33dcda2e15..76003d12a1f 100644
--- a/app/models/upload.rb
+++ b/app/models/upload.rb
@@ -276,6 +276,18 @@ class Upload < ActiveRecord::Base
excluded_tables: %w{
posts
post_search_data
+ incoming_emails
+ notifications
+ single_sign_on_records
+ stylesheet_cache
+ topic_links
+ topics
+ topic_search_data
+ users
+ user_emails
+ user_profiles
+ draft_sequences
+ optimized_images
}
)