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

This commit is contained in:
Robin Ward 2018-02-27 16:45:20 -05:00
parent 931caa4335
commit 33340071e7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ColumnDropper
if ActiveRecord::Base.exec_sql(sql, table: table, if ActiveRecord::Base.exec_sql(sql, table: table,
columns: columns, columns: columns,
delay: "#{delay.to_i || 0} seconds", delay: "#{delay.to_i || 0} minutes",
after_migration: after_migration).to_a.length > 0 after_migration: after_migration).to_a.length > 0
on_drop&.call on_drop&.call