Entity does not have a primary column.
MadRoosterCro opened this issue · comments
Hello there! I followed along, but ran into a hiccup.
The console says "Primary column is required to have in all your entities. Use @PrimaryColumn decorator to add a primary column to your entity."
I noticed you do not use that decorator on your child entity, so I did the same thing and this issue came up. How did you tackle it?
Hey! I used the auto generated one instead!
@PrimaryGeneratedColumn()
id: number;
I probably left it out of the other examples!