mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fixed collation settings
This commit is contained in:
parent
74858042fc
commit
d07e1a13b3
@ -22,13 +22,13 @@ services:
|
|||||||
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:14.3
|
image: postgres:17.2
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: jellyfin
|
POSTGRES_PASSWORD: jellyfin
|
||||||
POSTGRES_USER: password
|
POSTGRES_USER: jellyfin
|
||||||
POSTGRES_DB: Jellyfin
|
POSTGRES_DB: Jellyfin
|
||||||
pgadmin:
|
pgadmin:
|
||||||
image: dpage/pgadmin4
|
image: dpage/pgadmin4
|
||||||
|
@ -12,6 +12,9 @@ namespace Jellyfin.Database.Providers.PgSql.Migrations
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
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(
|
migrationBuilder.CreateTable(
|
||||||
name: "ActivityLogs",
|
name: "ActivityLogs",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user