I have a problem with MySQL Workbench and primary/foreign keys.
I have some tables with PKs involved in relationship with other tables. If I modify the type of the PK, the type of the FK doesn't automatically update to reflect the change.
Is there any solution? Do I have to manually modify all the relations?
INFORMATION_SCHEMAto find all columns in all tables that have a direct or indirect reference to the one you change. And then dynamically build theALTER TABLEstatements to reflect the change. – ypercube Aug 5 '12 at 12:56