I'm trying to setup environment in which several Symfony REST API projects (microservices actually) live in single Postgres database but occupy different schemas in DB.
There is no problem to use @ORM\Table to define schema but I found out that migration_versions table is still living in public schema. And blindly hitting 'Yes' while applying migration in the second project just removes the table for the first one.
Of course, I could manually trim generated migration class not to allow execute DROP TABLE statement. But is it possible to setup Doctrine to use custom schema for storing migration_versions table thus completely isolating one project from the others within a single database?