We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acaacc3 commit e87aa62Copy full SHA for e87aa62
db/main/migrate/20210203143406_confirm_current_users.rb
@@ -7,9 +7,9 @@ class User < ActiveRecord::Base
7
disable_ddl_transaction!
8
9
def change
10
- time_now = Time.zone.now - 21.days
11
- User.all.in_batches do |users|
12
- users.update_all(confirmed_at: time_now)
13
- end
+ # time_now = Time.zone.now - 21.days
+ # User.all.in_batches do |users|
+ # users.update_all(confirmed_at: time_now)
+ # end
14
end
15
0 commit comments