TypeORM: duplicate entry error after changing length of primary key

I am making a table for an email with Nestjs, MySQL, and Typeorm. I have char type primary key length of 39, and have put a unique string made up of UUID concatenate with some extra sting in it.
Here is the way I make the primary key with Typeorm in Nestjs entity file named ’email’. There is no @PrimaryColumn or @PrimaryGeneratedColumn in it.