mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00: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…
x
Reference in New Issue
Block a user