From 33340071e74d6a48cbffa43814c088dc552fee6a Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 27 Feb 2018 16:45:20 -0500 Subject: [PATCH] FIX: Use 60 minutes, not 60 seconds for column dropper --- lib/column_dropper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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