[CHANGE] Library service, db migrations, ui blazor
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user