Open
Description
Using a basic Flow distribution (6.x) with one custom package (which requires sandstorm/usermanagent
), and an empty database doctrine:migrate
will fail:
SQLSTATE[HY000]: General error: 1005 Can't create table `weclapp-importer`.`sandstorm_usermanagement_domain_model_user` (errno: 150 "Foreign key constraint is incorrectly formed")
caused by this query:
ALTER TABLE sandstorm_usermanagement_domain_model_user ADD CONSTRAINT FK_5DEB8A977D3656A4 FOREIGN KEY (account) REFERENCES typo3_flow_security_account (persistence_object_identifier)
At that time of migration, the database contains the typo3_flow_security_account
table, but for some reason, the foreign key constraint is not accepted.
Tested with MariaDB 10.2.
Metadata
Assignees
Labels
No labels