mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
attempt to reset column info on user table explicitly
This commit is contained in:
parent
8b88b71309
commit
e031b06afa
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue