Can't create HAS MANY relationship when foreign key AUTO INCREMENTS in parent table GORM 2.0

后端 未结 0 2019
[愿得一人]
[愿得一人] 2021-02-15 08:51

Exploring GORM 2.0\'s AutoMigrate which automatically creates constraints in the database, it throws this error when I use a foreign key that auto increments in it\'s parent tab

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