It. Each is DbMigrationsConfigurationtied to one specific DbContextthrough ContextKey. Once you have more than that DbContext, the command Enable-Migrationsneeds a parameter -ContextTypeName. You can simply run Enable-MigrationsDbContext for one and omit it for another.
Dejan source
share