debian-mirror-gitlab/db/migrate/20220203134942_add_hidden_to_projects.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
284 B
Ruby
Raw Normal View History

2022-05-07 20:08:51 +05:30
# 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