canvas-lms/db/migrate/20121016230032_fix_bulk_mes...

13 lines
310 B
Ruby

class FixBulkMessageAttachments < ActiveRecord::Migration
tag :postdeploy
self.transactional = false
def self.up
DataFixup::FixBulkMessageAttachments.send_later_if_production(:run)
end
def self.down
# The migration is non-destructive and only adds missing attachment associations
end
end