Skip to content

A platform for community discussion. Free, open, simple.

FIX: Use 60 minutes, not 60 seconds for column dropper

Robin Ward33340071e74d
diff --git a/lib/column_dropper.rb b/lib/column_dropper.rb
index a291d212bc2..be08a10dd0c 100644
--- a/lib/column_dropper.rb
+++ b/lib/column_dropper.rb
@@ -25,7 +25,7 @@ class ColumnDropper
if ActiveRecord::Base.exec_sql(sql, table: table,
columns: columns,
- delay: "#{delay.to_i || 0} seconds",
+ delay: "#{delay.to_i || 0} minutes",
after_migration: after_migration).to_a.length > 0
on_drop&.call