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

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

class AddDefaultBranchNameToNamespaceSettings < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  # rubocop:disable Migration/AddLimitToTextColumns

  # limit is added in 20200919204155_add_text_limit_to_namespace_settings_default_branch_name
  #
  def change
    add_column :namespace_settings, :default_branch_name, :text
  end

  # rubocop:enable Migration/AddLimitToTextColumns
end