Issue #3335269 by Niklan: Entity stubs doesn't follows fallback logic from entities and leads to a broken migration
mentioned in commit 2b801817