From 1fd07a640c9f7593c23389cf1ae6a23eeb71d72a Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Fri, 28 Jun 2024 22:34:03 +0200 Subject: [PATCH] Add UTF8 support for person names. fixes #917 --- src/backend/model/database/enitites/PersonEntry.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backend/model/database/enitites/PersonEntry.ts b/src/backend/model/database/enitites/PersonEntry.ts index 66f12563..8512c072 100644 --- a/src/backend/model/database/enitites/PersonEntry.ts +++ b/src/backend/model/database/enitites/PersonEntry.ts @@ -10,7 +10,10 @@ export class PersonEntry implements PersonDTO { @PrimaryGeneratedColumn({unsigned: true}) id: number; - @Column(columnCharsetCS) + @Column({ + charset: columnCharsetCS.charset, + collation: columnCharsetCS.collation, + }) name: string; @Column('int', {unsigned: true, default: 0})