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

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

class ExtendX509SubjectLimit < Gitlab::Database::Migration[2.0]
  def up
    change_column :x509_certificates, :subject, :string, limit: 512
  end

  def down
    change_column :x509_certificates, :subject, :string, limit: 255
  end
end