We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get an error when i try to execute doctrine:fixtures:load and the database is purged.
doctrine:fixtures:load
Symfony > doctrine:fixtures:load Careful, database will be purged. Do you want to continue Y/N ?y > purging database [Doctrine\DBAL\DBALException] An exception occurred while executing 'DELETE FROM messaging_inbox': SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`ruw`.`profile`, CONSTRAINT `FK_8157AA0F18DA89DD` FOREIGN KEY (`inbox_id`) REFERENCES `messaging_inbox` (`id`)) [PDOException] SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`ruw`.`profile`, CONSTRAINT `FK_8157AA0F18DA89DD` FOREIGN KEY (`inbox_id`) REFERENCES `messaging_inbox` (`id`)) doctrine:fixtures:load [--fixtures[="..."]] [--append] [--em="..."] [--purge-with-truncate] The command terminated with an error status (1)
I'm using the latest master.
The text was updated successfully, but these errors were encountered:
+1 Please fix this issue with the flag --purge-with-truncate
--purge-with-truncate
Sorry, something went wrong.
See doctrine/data-fixtures#127
Still actual
No branches or pull requests
I get an error when i try to execute
doctrine:fixtures:load
and the database is purged.I'm using the latest master.
The text was updated successfully, but these errors were encountered: