Skip to content

Commit e87aa62

Browse files
committed
Disable set confirmed_at
1 parent acaacc3 commit e87aa62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

db/main/migrate/20210203143406_confirm_current_users.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class User < ActiveRecord::Base
77
disable_ddl_transaction!
88

99
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
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
1414
end
1515
end

0 commit comments

Comments
 (0)