13 lines
259 B
Ruby
13 lines
259 B
Ruby
![]() |
class ResetUngradedCounts < ActiveRecord::Migration
|
||
|
tag :postdeploy
|
||
|
self.transactional = false
|
||
|
|
||
|
def self.up
|
||
|
DataFixup::ResetUngradedCounts.send_later_if_production(:run)
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|