Fixed collation settings

This commit is contained in:
JPVenson
2025-01-27 20:55:39 +00:00
parent 74858042fc
commit d07e1a13b3
2 changed files with 5 additions and 2 deletions

View File

@@ -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