Files
YouTube-Manager/README.md
2025-09-02 15:37:28 +02:00

19 lines
651 B
Markdown

# YouTube Manager
Server application for managing YouTube content and managing a local library.
### Migrations
Using migrations using the .NET CLI
Add migration (library)
```shell
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 --startup-project Manager.App --context Manager.Data.Contexts.LibraryDbContext
```
Remove migration
```shell
dotnet ef migrations remove --project Manager.Data --startup-project Manager.App --context Manager.Data.Contexts.LibraryDbContext
```