discourse/db/fixtures/999_delayed.rb
2018-03-21 12:05:12 +01:00

13 lines
329 B
Ruby

# Delayed migration steps
require 'migration/table_dropper'
Migration::TableDropper.delayed_rename(
old_name: 'topic_status_updates',
new_name: 'topic_timers',
after_migration: 'RenameTopicStatusUpdatesToTopicTimers',
on_drop: ->() {
STDERR.puts "Dropping topic_status_updates. It was moved to topic_timers."
}
)