Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220627061008_add_fei_shu_integration.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a3bdb0a2e99c16ae2697d427e15bffd25c10eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class AddFeiShuIntegration < Gitlab::Database::Migration[2.0]
  def change
    add_column :application_settings, :feishu_integration_enabled, :boolean,
      null: false, default: false, comment: 'JiHu-specific column'
    add_column :application_settings, :encrypted_feishu_app_key, :binary, comment: 'JiHu-specific column'
    add_column :application_settings, :encrypted_feishu_app_key_iv, :binary, comment: 'JiHu-specific column'
    add_column :application_settings, :encrypted_feishu_app_secret, :binary, comment: 'JiHu-specific column'
    add_column :application_settings, :encrypted_feishu_app_secret_iv, :binary, comment: 'JiHu-specific column'
  end
end