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

20220720121421_remove_pat_and_ssh_enforcement_columns_from_application_settings.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b03cad08f35b81b3153601b393f9bbb094b2a1ee (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class RemovePatAndSshEnforcementColumnsFromApplicationSettings < Gitlab::Database::Migration[2.0]
  def change
    remove_column :application_settings, :enforce_pat_expiration, :boolean, default: true, null: false
    remove_column :application_settings, :enforce_ssh_key_expiration, :boolean, default: true, null: false
  end
end