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

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

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

  def change
    change_column_default(:users, :notified_of_own_activity, from: nil, to: false)
  end
end