summaryrefslogtreecommitdiff
path: root/db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb
blob: 12209422fbb0822be25029d47a8b05016a15278d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

  def up
    add_text_limit :pages_deployments, :root_directory, 255
  end

  def down
    remove_text_limit :pages_deployments, :root_directory
  end
end