mananvyas (AT) gmail (DOT) com wrote:
Quote:
I am adding "On Update/Delete" constraints to an existing foreign key.
I think I am changing the schema. My colleague does not think so.
Who is correct?? |
You are correct, adding those modifiers to the foreign key is a schema
change.
It's true that it does not add or remove any columns or tables. It also
doesn't change any existing data values, but it does change the way
DELETE or UPDATE works for the primary key of the referenced table.
This can have a significant impact on any application's workings, like
any other schema change.
So yes, you should follow such a schema change with thorough testing. ;-)
Regards,
Bill K.