tags for foreign key gorm with references to main table

前端 未结 0 1440
孤城傲影
孤城傲影 2021-02-18 13:25

There is main table: Users CREATE TABLE users( id bigserial PRIMARY KEY

There is subordinate table: CREATE TABLE users_history: ... FOREIGN KEY(user_id) REFERENCES users(

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