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

20230707114012_change_project_view_default.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6437a650261b2159439b188972613295979f3b68 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class ChangeProjectViewDefault < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def change
    change_column_default(:users, :project_view, from: 0, to: 2)
  end
end