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

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

class AddHiddenToProjects < Gitlab::Database::Migration[1.0]
  DOWNTIME = false

  enable_lock_retries!

  def change
    add_column :projects, :hidden, :boolean, default: false, null: false # rubocop: disable Migration/AddColumnsToWideTables
  end
end