Bug #92221 | MySQL Workbench will not show multiple column foreign key in the Navigator | ||
---|---|---|---|
Submitted: | 29 Aug 2018 10:31 | Modified: | 29 Aug 2018 11:31 |
Reporter: | Jens Andersen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
Version: | 8.0 CE, 8.0.12 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[29 Aug 2018 10:31]
Jens Andersen
[29 Aug 2018 11:31]
MySQL Verification Team
Hello Jens Andersen, Thank you for the report! Observed this with MySQL Workbench Commercial (Proprietary) for Windows version 8.0.12 SE build 13312926 (64 bit) on Win7. regards, Umesh
[5 Mar 2022 14:35]
Michel Claes
Hello, I have a similar issue with MySQL Workbench 8.0 CE 8.0.28 under macOS. The constraint absent in navigator under Constraints. When clicking on the (i) near the table name in the navigator and moving to Foreign Keys tab, it shows 2 rows instead of 1. With a right click on the table, then select alter table then foreign keys, the information is correct. Here is my SQL code. CREATE SCHEMA `test_schema`; CREATE TABLE IF NOT EXISTS `test_schema`.`test` ( `k1` INT NOT NULL, `k2` INT NOT NULL, `k1_father` INT NOT NULL, `k2_father` INT NOT NULL, PRIMARY KEY (`k1`, `k2`), CONSTRAINT `fk_father` FOREIGN KEY (`k1_father`, `k2_father`) REFERENCES `test_schema`.`test` (`k1`, `k2`) ) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8 ; Best regards. Regards Michel.