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

20230323140745_add_root_directory_to_pages_deployment.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 781ba3e89d4dfa1b4136c524158ce0221f23ce2f (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class AddRootDirectoryToPagesDeployment < Gitlab::Database::Migration[2.1]
  # rubocop:disable Migration/AddLimitToTextColumns
  # limit is added in 20230323140746_add_text_limit_to_pages_deployment_root_directory
  def change
    add_column :pages_deployments, :root_directory, :text, default: "public"
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end