debian-mirror-gitlab/db/migrate/20230323140746_add_text_limit_to_pages_deployment_root_directory.rb
2023-06-20 00:43:36 +05:30

14 lines
298 B
Ruby

# 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