Renamed ApplicationDbContext to IdentityDbContext
This commit is contained in:
@@ -84,7 +84,7 @@ builder.Services.AddFastEndpoints();
|
||||
builder.Services.AddUsersModule(options =>
|
||||
options.UseNpgsql(
|
||||
postgresConnectionString,
|
||||
o => o.MigrationsHistoryTable("__EFMigrationsHistory", ApplicationDbContext.SchemaName)));
|
||||
o => o.MigrationsHistoryTable("__EFMigrationsHistory", IdentityDbContext.SchemaName)));
|
||||
builder.Services.AddContentModule(options =>
|
||||
options.UseNpgsql(
|
||||
postgresConnectionString,
|
||||
@@ -114,7 +114,7 @@ app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
// Initialize and seed the db.
|
||||
await app.InitialiseApplicationDatabaseAsync();
|
||||
await app.InitialiseIdentityDatabaseAsync();
|
||||
await app.InitialiseContentDbContextAsync();
|
||||
await app.InitialiseMessagingDbContextAsync();
|
||||
await app.InitialiseMembershipDbContextAsync();
|
||||
|
||||
Reference in New Issue
Block a user