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

后端 未结 0 907
时光说笑
时光说笑 2021-02-15 08:47

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

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