summaryrefslogtreecommitdiff
path: root/db/migrate/20230406095544_add_pa_configurator_base_to_app_settings.rb
blob: b6b33cdf17bd7adcb9ebb07fe5b0c4d5910e65f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddPaConfiguratorBaseToAppSettings < Gitlab::Database::Migration[2.1]
  def up
    add_column :application_settings, :encrypted_product_analytics_configurator_connection_string, :binary
    add_column :application_settings, :encrypted_product_analytics_configurator_connection_string_iv, :binary
  end

  def down
    remove_column :application_settings, :encrypted_product_analytics_configurator_connection_string
    remove_column :application_settings, :encrypted_product_analytics_configurator_connection_string_iv
  end
end