Why cant I add a foreign key here, when the table and the column exists and are same type?

前端 未结 0 971
时光说笑
时光说笑 2021-01-07 03:44

First table

CREATE TABLE `payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payment_status_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`         


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