I have two database each with their own dbcontext. I\'ve setup two migration configurations. I can add a migration for the first db ust fine (Add-Migration DB1_Initial
Add-Migration DB1_Initial
With Entity Framework 6 it's easy.
It's the same procedure for both multiple DbContexts for one database and for multiple DbContexts for each their own database:
Enable-Migrations -ContextTypeName -MigrationsDirectory:
Add-Migration -configuration
Update-Database -configuration -Verbose
Source