The Free Software Media System - Server Backend & API
Fixed collation settings
JPVensond07e1a13b315
diff --git a/.devcontainer/pgsql/docker-compose.yaml b/.devcontainer/pgsql/docker-compose.yamlindex 891a03673f..1cab707622 100644--- a/.devcontainer/pgsql/docker-compose.yaml+++ b/.devcontainer/pgsql/docker-compose.yaml@@ -22,13 +22,13 @@ services:# (Adding the "ports" property to this file will not forward from a Codespace.)db:- image: postgres:14.3+ image: postgres:17.2restart: unless-stoppedvolumes:- postgres-data:/var/lib/postgresql/dataenvironment:POSTGRES_PASSWORD: jellyfin- POSTGRES_USER: password+ POSTGRES_USER: jellyfinPOSTGRES_DB: Jellyfinpgadmin:image: dpage/pgadmin4diff --git a/Jellyfin.Database/Jellyfin.Database.Providers.PgSql/Migrations/20250127174201_InitMigration.cs b/Jellyfin.Database/Jellyfin.Database.Providers.PgSql/Migrations/20250127174201_InitMigration.csindex f1d0d15647..01ddd5ec96 100644--- a/Jellyfin.Database/Jellyfin.Database.Providers.PgSql/Migrations/20250127174201_InitMigration.cs+++ b/Jellyfin.Database/Jellyfin.Database.Providers.PgSql/Migrations/20250127174201_InitMigration.cs@@ -12,6 +12,9 @@ namespace Jellyfin.Database.Providers.PgSql.Migrations/// <inheritdoc />protected override void Up(MigrationBuilder migrationBuilder){+ // shim NOCASE collation with an undefined locale and case-insensitive matching rules.+ migrationBuilder.Sql("CREATE COLLATION NOCASE (provider = icu, locale = 'und-x-icu.utf8', deterministic = false)");+migrationBuilder.CreateTable(name: "ActivityLogs",columns: table => new