I get the following error when I try to upgrade to 6.6.x (tried .0 thru .2, from 6.5.7) with the following error:
Executing script /Users/eddy/studio-projects/crm-revamp/modules/core/build/db/10-cuba/update/mysql/17/170502-createSessionHistoryTable.sql Aug 29, 2017 9:55:40 PM groovy.sql.Sql execute WARNING: Failed to execute: create table SEC_SESSION_LOG ( ... ) because: Cannot add foreign key constraint :app-core:updateDb FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app-core:updateDb'. > java.sql.SQLException: Cannot add foreign key constraint
Any ideas what this could be?