Don't depend on schema.py in migration scripts
Some migrations can't be run when the schema.py of some cubes have evolved.
This happens when running a migration which references a schema which no longer exist.
add_entity_type("MyEntityType") // schema.py no longer contains EntityType