attempt to reset column info on user table explicitly

This commit is contained in:
Sam 2018-06-07 20:20:15 +10:00
parent 8b88b71309
commit e031b06afa
1 changed files with 2 additions and 0 deletions

View File

@ -183,3 +183,5 @@ Migration::TableDropper.delayed_drop(
STDERR.puts "Resetting Active Record Cache"
Discourse.reset_active_record_cache
ActiveRecord::Base.connection.close
# for some reason connection tables may be off?
User.reset_column_information