debian-mirror-gitlab/db/migrate/20220203134942_add_hidden_to_projects.rb
2022-05-07 20:08:51 +05:30

12 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