[CHANGE] Library service, db migrations, ui blazor

This commit is contained in:
max
2025-08-31 20:11:03 +02:00
parent aeb9adf930
commit 98fe4b9391
19 changed files with 1206 additions and 18 deletions

View File

@@ -4,12 +4,12 @@ Server application for managing YouTube content and managing a local library.
### Migrations
Using migrations using the .NET CLI
Add migration
Add migration (library)
```shell
dotnet ef migrations add <MigrationName> --project Manager.Data --context Manager.Data.Contexts.AppDbContext
dotnet ef migrations add <migration-name> --project Manager.Data --startup-project Manager.App --context Manager.Data.Contexts.LibraryDbContext
```
Update the database
```shell
dotnet ef database update --project Manager.Data --context Manager.Data.Contexts.AppDbContext
dotnet ef database update --project Manager.Data --startup-project Manager.App --context Manager.Data.Contexts.LibraryDbContext
```