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

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

class ValidateDesignsFilenameTextLimit < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers
  DOWNTIME = false

  disable_ddl_transaction!

  def up
    validate_text_limit :design_management_designs, :filename
  end

  def down
    # no-op
  end
end