How to stop Go gorm from forcing a not null constraint on my self referencing foreign key in Postgres

后端 未结 0 1536
天命终不由人
天命终不由人 2020-11-28 07:13

I need to create a table that references itself in gorm, but cannot figure out why it is forcing a not null constraint on me. I am totally stumped. How can I ge

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