Hi all,

sometimes my Modelere throws an error when I alter my database,
because of foreign key restrictions.

To avoid this, one must do this:
SET foreign_key_checks =0;

and afterwards this:
SET foreign_key_checks =1;

(on a mysql) to make the migration a success.

I wonder if there are sometimes problems with other databases too and
if there is a chance to disable these checks before making the
moderler migrating the alter scripts.

Cheers
Christian

-- 
http://www.grobmeier.de

Reply via email to