mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 23:11:24 +08:00

When the upgrade process from 29a8c6ee498999f114f933d2de2b46989a407660 is run, there's a deployment race condition where old code can write a Reviewable to the database without a `type_source` (incorrectly defaulting it to "unknown"). This change adds a post-deploy migration script that populates any such Reviewables with the correct `type_source` value.