gitlab-org--gitlab-foss/spec/initializers
Nick Thomas 6ddefe7cad
Correctly handle data-loss scenarios when encrypting columns
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.
2018-11-27 18:24:18 +00:00
..
6_validations_spec.rb Migrate storage nesting check to Gitaly 2018-06-27 16:20:03 +00:00
8_metrics_spec.rb Fix rspec errors, and add more tests to MethodCall and ActionView 2017-11-02 18:11:43 +01:00
attr_encrypted_no_db_connection_spec.rb Correctly handle data-loss scenarios when encrypting columns 2018-11-27 18:24:18 +00:00
direct_upload_support_spec.rb Update validator 2018-06-04 22:31:01 +02:00
doorkeeper_spec.rb Clean up read_registry scope changes 2017-09-18 08:39:01 -04:00
fog_google_https_private_urls_spec.rb Fix Fog mocking 2018-06-05 16:48:42 +02:00
secret_token_spec.rb Eliminate duplicated words 2018-11-22 01:01:23 +09:00
settings_spec.rb Route path lookups through legacy_disk_path 2018-03-21 18:18:32 +01:00
trusted_proxies_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00