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

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

class AddTextLimitToIntegrationsTypeNew < ActiveRecord::Migration[6.1]
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def up
    add_text_limit :integrations, :type_new, 255
  end

  def down
    remove_text_limit :integrations, :type_new
  end
end