debian-mirror-gitlab/db/migrate/20220627061008_add_fei_shu_integration.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
696 B
Ruby
Raw Normal View History

2022-08-13 15:12:31 +05:30
# frozen_string_literal: true
class AddFeiShuIntegration < Gitlab::Database::Migration[2.0]
def change
2022-08-27 11:52:29 +05:30
add_column :application_settings, :feishu_integration_enabled, :boolean,
null: false, default: false, comment: 'JiHu-specific column'
2022-08-13 15:12:31 +05:30
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