summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/encrypt_integration_properties.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/encrypt_integration_properties.rb')
-rw-r--r--lib/gitlab/background_migration/encrypt_integration_properties.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/gitlab/background_migration/encrypt_integration_properties.rb b/lib/gitlab/background_migration/encrypt_integration_properties.rb
index c9582da2a51..28c28ae48eb 100644
--- a/lib/gitlab/background_migration/encrypt_integration_properties.rb
+++ b/lib/gitlab/background_migration/encrypt_integration_properties.rb
@@ -18,14 +18,14 @@ module Gitlab
scope :for_batch, ->(range) { where(id: range) }
attr_encrypted :encrypted_properties_tmp,
- attribute: :encrypted_properties,
- mode: :per_attribute_iv,
- key: ::Settings.attr_encrypted_db_key_base_32,
- algorithm: ALGORITHM,
- marshal: true,
- marshaler: ::Gitlab::Json,
- encode: false,
- encode_iv: false
+ attribute: :encrypted_properties,
+ mode: :per_attribute_iv,
+ key: ::Settings.attr_encrypted_db_key_base_32,
+ algorithm: ALGORITHM,
+ marshal: true,
+ marshaler: ::Gitlab::Json,
+ encode: false,
+ encode_iv: false
# See 'Integration#reencrypt_properties'
def encrypt_properties