How to keep separate migrations folders for multiple DbContexts in one EF Core project
Pass --output-dir once per DbContext and EF Core keeps every later migration in that folder and namespace. Why the default layout is lopsided, the CS0111 collision you get from a shared folder, how to move existing migrations, and when to split the history table.