For basically every SQL database out there, how would you upgrade your data types and have all the foreign keys linked to that data type be upgraded?
For example, let's say I have ScientificResult is a 32-bit integer. Now I want ScientifcResult to be a 64-bit integer. ScientificResult is also a foreign key for a few other tables but they are declared as 32-bit integers.
Is there a generic way to do this?