mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 06:28:40 +08:00

Why this change? This is a follow up to 408d2f8e692868779b1b05c19fcb32c35897184b. When `ActiveRecord::ConnectionAdapaters::PostgreSQLAdatper#reload_type_map` is called, we need to clear the type map cache otherwise migrations adding an array column will end up throwing errors.