Bug #39150 | Remove a table referenced in foreing key constraint | ||
---|---|---|---|
Submitted: | 1 Sep 2008 7:45 | Modified: | 13 Oct 2008 15:47 |
Reporter: | Lorenzo Luconi Trombacchi | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
Version: | 5.0.24 | OS: | Any |
Assigned to: | Sergei Tkachenko | CPU Architecture: | Any |
[1 Sep 2008 7:45]
Lorenzo Luconi Trombacchi
[1 Sep 2008 12:04]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[9 Sep 2008 16:40]
Sergei Tkachenko
WB now silently deletes all foreign keys referencing the deleted table and indexes corresponding to those foreign keys. Undoing the delete table action will restore foreign keys and indexes along with the table.
[10 Sep 2008 12:31]
Johannes Taxacher
if the user deletes a table all FKs in other tables referencing the deleted table are removed as well. this fix will be incorporated ion 5.0.25
[13 Oct 2008 15:47]
Tony Bedford
An entry was added to the 5.0.25 changelog: Foreign keys referencing a deleted table were not removed.