Prevent sequelize from generating foreign key by default

前端 未结 0 1821
不思量自难忘°
不思量自难忘° 2021-02-06 06:13

I have a self referential relationship (not important)

export default class Person{
  @PrimaryKey
  @Column
  public id!: number;

  @BelongsTo(() => Person, &         


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