summaryrefslogtreecommitdiff
path: root/db/migrate/20221102202130_extend_x509_subject_limit.rb
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