discourse/db/fixtures/999_delayed.rb

13 lines
327 B
Ruby
Raw Normal View History

# Delayed migration steps
require 'migration/table_dropper'
Migration::TableDropper.delayed_drop(
old_name: 'topic_status_updates',
new_name: 'topic_timers',
after_migration: 'RenameTopicStatusUpdatesToTopicTimers',
2017-07-27 20:20:09 -05:00
on_drop: ->() {
STDERR.puts "Dropping topic_status_updates. It was moved to topic_timers."
}
)