debian-mirror-gitlab/db/migrate/20221102202130_extend_x509_subject_limit.rb
2023-01-13 15:02:22 +05:30

11 lines
268 B
Ruby

# 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