1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02: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}) @PrimaryGeneratedColumn({unsigned: true})
id: number; id: number;
@Column(columnCharsetCS) @Column({
charset: columnCharsetCS.charset,
collation: columnCharsetCS.collation,
})
name: string; name: string;
@Column('int', {unsigned: true, default: 0}) @Column('int', {unsigned: true, default: 0})