1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Add UTF8 support for person names.

fixes #917
This commit is contained in:
Patrik J. Braun 2024-06-28 22:34:03 +02:00
parent 39f1484be2
commit 1fd07a640c

View File

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