Composite primary key in MySQL typeORM

后端 未结 0 1929
孤城傲影
孤城傲影 2021-01-04 06:31

I need to create a composite primary key. I have two entities are user and task.

User entity

@Entity(\'users\')
export class User extends BaseEntity {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题