diff options
Diffstat (limited to 'db/migrate/20220513093614_add_ding_talk_into_application_settings.rb')
-rw-r--r-- | db/migrate/20220513093614_add_ding_talk_into_application_settings.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20220513093614_add_ding_talk_into_application_settings.rb b/db/migrate/20220513093614_add_ding_talk_into_application_settings.rb new file mode 100644 index 00000000000..5a34200a3c8 --- /dev/null +++ b/db/migrate/20220513093614_add_ding_talk_into_application_settings.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +class AddDingTalkIntoApplicationSettings < Gitlab::Database::Migration[2.0] + def change + add_column :application_settings, :dingtalk_integration_enabled, :boolean, null: false, + default: false, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_corpid, :binary, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_corpid_iv, :binary, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_app_key, :binary, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_app_key_iv, :binary, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_app_secret, :binary, comment: 'JiHu-specific column' + add_column :application_settings, :encrypted_dingtalk_app_secret_iv, :binary, comment: 'JiHu-specific column' + end +end |