@bakura10 that's not your problem. You can eventually replace the entity repository for it, so that you disallow actions on the entity. I don't think this is the correct approach to handle migrations. @basz set a filter on the metadata instead