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

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

class AddSentrySettingsToApplicationSettings < Gitlab::Database::Migration[1.0]
  # rubocop:disable Migration/AddLimitToTextColumns
  def change
    add_column :application_settings, :sentry_enabled, :boolean, default: false, null: false
    add_column :application_settings, :sentry_dsn,            :text
    add_column :application_settings, :sentry_clientside_dsn, :text
    add_column :application_settings, :sentry_environment,    :text
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end