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

20230621083052_add_text_limit_to_ci_group_variable_description.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0a5a3d539bb56ab8667ff68b7c756ee829ae34f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class AddTextLimitToCiGroupVariableDescription < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  TABLE_NAME = :ci_group_variables
  COLUMN_NAME = :description

  def up
    add_text_limit(TABLE_NAME, COLUMN_NAME, 255)
  end

  def down
    remove_text_limit(TABLE_NAME, COLUMN_NAME)
  end
end