Fix EFcore readme

This commit is contained in:
Shadowghost
2026-01-18 17:28:33 +01:00
parent 2086ac7dd2
commit 99440f8432

View File

@@ -17,7 +17,7 @@ with SQLite currently being the only supported provider, you need to run the Ent
The example is made from the root folder of the project e.g for codespaces `/workspaces/jellyfin`
```cmd
dotnet ef migrations add {MIGRATION_NAME} --project "src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite" -- --migration-provider Jellyfin-SQLite
dotnet ef migrations add {MIGRATION_NAME} --project "src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite" --output-dir Migrations -- --migration-provider Jellyfin-SQLite
```
If you get the error: `Run "dotnet tool restore" to make the "dotnet-ef" command available.` Run `dotnet restore`.