Discussion:
[Liquibase-user] New Topic: dropFirst, MySQL and foreignKey constraints
Liquibase Community Forum
2010-12-30 12:20:27 UTC
Permalink
A new topic, 'dropFirst, MySQL and foreignKey constraints', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=872.new#new

The text of the topic is shown below:

I am using
- liquibase 1.9.x
- MySQL 5.1.x

I added dropFirst to my pom.xml so that I can drop the database depending on some property that I pass on the command line to Maven.
However, when liquibase is trying to drop all objects it bumps into foreign key checks. But I want to drop everything!

Shouldn't there be a "SET FOREIGN_KEY_CHECKS=TRUE" performed by liquibase before the database drop is begun?

Best regards /Lasse

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...