Heikki Tuuri wrote:

> Foreign keys do not work if you do an ALTER TABLE. I have to add a note to
> the manual that they do not work even if you do an ALTER TABLE to the
> referenced table.


Are you saying that you can't add columns to a table (to grow the schema 
incrementally between software versions) without losing all your 
foreign-key constraints? Or having to dump and restore databases each time?

Would it work to drop and recreate all the foreign-key constraints after 
each alter table?
--
Shankar.



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to