mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Reset ActiveRecord cache after dropping columns.
This commit is contained in:
parent
dd932217ca
commit
8a362a1c3c
@ -38,6 +38,8 @@ class ColumnDropper
|
||||
DROP TRIGGER IF EXISTS #{readonly_trigger_name(table, column)} ON #{table};
|
||||
SQL
|
||||
end
|
||||
|
||||
Discourse.reset_active_record_cache
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user