module Switchman::ActiveRecord::Tasks::DatabaseTasks

Public Instance Methods

drop(*) click to toggle source
Calls superclass method
# File lib/switchman/active_record/tasks/database_tasks.rb, line 7
def drop(*)
  super
  # no really, it's gone
  Switchman.cache.delete('default_shard')
  Shard.default(reload: true)
end