How to handle migrations when you have multiple DbContext in your solution?
- Use separate migration folders per DbContext via the -Context option in
Add-Migration.
- Maintain separate migration history tables using MigrationsHistoryTable
method.
- Apply migrations independently for each DbContext.