Class: Gitlab::BackgroundMigration::MigrateIssueTrackersSensitiveData::JiraTrackerData
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Gitlab::BackgroundMigration::MigrateIssueTrackersSensitiveData::JiraTrackerData
- Defined in:
- lib/gitlab/background_migration/migrate_issue_trackers_sensitive_data.rb
Overview
we need to define this class and set fields encryption
Class Method Summary collapse
Methods inherited from ApplicationRecord
at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, without_order
Class Method Details
.encryption_options ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/gitlab/background_migration/migrate_issue_trackers_sensitive_data.rb', line 32 def self. { key: Settings.attr_encrypted_db_key_base_32, encode: true, mode: :per_attribute_iv, algorithm: 'aes-256-gcm' } end |