How to alter a column and make it the foreign key?

后端 未结 0 698
北恋
北恋 2020-12-11 18:21

ALTER TABLE uploadadd ADD FOREIGN KEY (user_id) REFERENCES users(usersId);

I\'m trying to alter my table and making user_id a foreign key but I get this error message

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