diff options
Diffstat (limited to 'db/migrate/20221102202130_extend_x509_subject_limit.rb')
-rw-r--r-- | db/migrate/20221102202130_extend_x509_subject_limit.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20221102202130_extend_x509_subject_limit.rb b/db/migrate/20221102202130_extend_x509_subject_limit.rb new file mode 100644 index 00000000000..3e6bfc7691c --- /dev/null +++ b/db/migrate/20221102202130_extend_x509_subject_limit.rb @@ -0,0 +1,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 |