6ddefe7cad
If the EncryptColumns background migration runs in a sidekiq with a stale view of the database schema, or when the purported destination columns don't actually exist, data loss can result. Attempt to work around these issues by reloading schema information before running the migration, and raising errors if the model reports that any of its source or destination columns are missing. |
||
---|---|---|
.. | ||
6_validations_spec.rb | ||
8_metrics_spec.rb | ||
attr_encrypted_no_db_connection_spec.rb | ||
direct_upload_support_spec.rb | ||
doorkeeper_spec.rb | ||
fog_google_https_private_urls_spec.rb | ||
secret_token_spec.rb | ||
settings_spec.rb | ||
trusted_proxies_spec.rb |