Add scripts for PostgreSQL migration and SQLite removal; update project references
- Introduced `publish-with-sql.ps1` to publish Jellyfin with SQL files. - Added `remove-sqlite.ps1` to facilitate the removal of SQLite dependencies for PostgreSQL-only deployment. - Created `rollback-to-net10.ps1` to revert .NET 11 changes back to .NET 10. - Implemented `test_api.py` for testing API interactions. - Added `verify-migration.ps1` to verify PostgreSQL migration steps. - Updated various `.csproj` files to include `Microsoft.Kiota.Abstractions` package. - Enhanced `JellyfinDbContext` to handle concurrency exceptions during save operations. - Updated tests to include new package references and ensure compatibility with changes.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Add Supplementary Indexes - Quick Command
|
||||
|
||||
Write-Host "Connecting to jellyfin_testsdata and adding supplementary indexes..." -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
|
||||
# Quick and simple - just run the SQL script
|
||||
psql -U jellyfin -d jellyfin_testsdata -f sql\schema_init\10_create_supplementary_indexes.sql
|
||||
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host ""
|
||||
Write-Host "✓ Success! Supplementary indexes added." -ForegroundColor Green
|
||||
Write-Host ""
|
||||
Write-Host "Next: Restart Jellyfin to see performance improvements" -ForegroundColor Yellow
|
||||
} else {
|
||||
Write-Host ""
|
||||
Write-Host "❌ Failed. Check that:" -ForegroundColor Red
|
||||
Write-Host " - PostgreSQL is running" -ForegroundColor Gray
|
||||
Write-Host " - Database 'jellyfin_testsdata' exists" -ForegroundColor Gray
|
||||
Write-Host " - You have the correct password" -ForegroundColor Gray
|
||||
}
|
||||
Reference in New Issue
Block a user