diff options
Diffstat (limited to 'db/migrate/20220203134942_add_hidden_to_projects.rb')
-rw-r--r-- | db/migrate/20220203134942_add_hidden_to_projects.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20220203134942_add_hidden_to_projects.rb b/db/migrate/20220203134942_add_hidden_to_projects.rb new file mode 100644 index 00000000000..7046d641289 --- /dev/null +++ b/db/migrate/20220203134942_add_hidden_to_projects.rb @@ -0,0 +1,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 |