[schema sync] Update repo._type_source_cache when renaming an entity (closes #2094470)
When an entity type is renamed as part of a migration, it leaves stale
entries in repo._type_source_cache, which makes subsequent operations on
those entities fail (they look for the old entity name instead of the
new one).
.._Tutorials:---------Tutorials---------We present two tutorials of different levels. The blog buildingtutorial introduces one smoothly to the basic concepts.Then there is a photo gallery construction tutorial which highlightsmore advanced concepts such as unit tests, security settings,migration scripts...toctree:::maxdepth: 1:numbered: base/index advanced/index tools/windmill.rst