gitlab-org--gitlab-foss/db/migrate/20220203134942_add_hidden_to_projects.rb

11 lines
284 B
Ruby

# 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