Hi Pascal, I've seen this problem in other scenarios too. Adding the following statement at the beginning of the migration solved it:
ERXJDBCUtilities.executeUpdate(channel, "SET CONSTRAINTS ALL IMMEDIATE;"); Cheers, Henrique On 23/10/2012, at 10:13, Pascal Robert <[email protected]> wrote: > FYI, if you are using migrations and PostgreSQL, and you are getting "ALTER > TABLE table name failed because it has pending trigger events", it's because > you are adding a boolean column without setting the default value. I got this > problem this morning because I didn't add the default value for one of the 3 > boolean columns I was adding in the migration. > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
