GlobalEntities now can be added not nice but added
This commit is contained in:
@@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore;
|
||||
using CouchLog.Components;
|
||||
using CouchLog.Components.Account;
|
||||
using CouchLog.Data;
|
||||
using CouchLog;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -145,8 +146,9 @@ using (var scope = app.Services.CreateScope())
|
||||
|
||||
await CouchLogDB.SaveChangesAsync();
|
||||
|
||||
//OnStartUp onStartUp = new(CouchLogDB);
|
||||
//onStartUp.AddBasicGenresToDatabase();
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine("ALL UP");
|
||||
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user