mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
unable to over write existing entities. #5931
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flik on GitHub (Mar 23, 2018).
how to overwrite existing entities in doctrine?
I am trying by command :
./vendor/bin/doctrine orm:convert-mapping --from-database annotation ./Modelserror:
In ExportException.php line 36:
@jwage commented on GitHub (Mar 23, 2018):
Hi @flik, you would use the
--forceoption. In the future, can you ask questions about Doctrine usage on places like Stack Overflow? This will help keep our github issue tracker clean so we can focus our limited resources on reported issues.@flik commented on GitHub (Mar 23, 2018):
I was waiting on stackoverflow for the answer but nobody was giving the answer. https://stackoverflow.com/questions/49369385/how-to-overwrite-existing-entities-in-doctrine
@flik commented on GitHub (Mar 23, 2018):
thanks