Added initializer for dev environment for the new dbContexts
This commit is contained in:
@@ -109,6 +109,8 @@ app.UseAuthorization();
|
||||
|
||||
// Initialize and seed the db.
|
||||
await app.InitialiseApplicationDatabaseAsync();
|
||||
await app.InitialiseContentDbContextAsync();
|
||||
await app.InitialiseMessagingDbContextAsync();
|
||||
await app.SeedDatabaseWithTestDataOnlyIfNoDataIsPresentAsync();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
Reference in New Issue
Block a user