2017-05-12 15:01:43 -04:00
|
|
|
# Delayed migration steps
|
|
|
|
|
|
|
|
require 'table_migration_helper'
|
|
|
|
|
|
|
|
TableMigrationHelper.delayed_drop(
|
|
|
|
old_name: 'topic_status_updates',
|
|
|
|
new_name: 'topic_timers',
|
|
|
|
after_migration: 'RenameTopicStatusUpdatesToTopicTimers',
|
2017-07-27 21:20:09 -04:00
|
|
|
on_drop: ->() {
|
2017-05-12 15:01:43 -04:00
|
|
|
STDERR.puts "Dropping topic_status_updates. It was moved to topic_timers."
|
|
|
|
}
|
|
|
|
)
|