Exclude large tables when remapping in `Upload.migrate_to_new_scheme`.
Those tables do not carry any information about uploads.
This commit is contained in:
parent
d5d784b9f2
commit
4a03b21f80
|
@ -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
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue