DDC-1004: Option for mapping:import to not write Entity Files if they exist #1251

Open
opened 2026-01-22 13:07:15 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 27, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user monofone:

There should be an option to omit the creation of allready existing entities:

Use Case:

if you develop your model in the database and create the entities with the cli and then go on with development and create new tables you would build the entities again with the cli. This will kill your allready existing and possible extended entities.

Best would be if you have to set the option when you want the existing entities overwritten. so you cant accidently overwrite them

Originally created by @doctrinebot on GitHub (Jan 27, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user monofone: There should be an option to omit the creation of allready existing entities: Use Case: if you develop your model in the database and create the entities with the cli and then go on with development and create new tables you would build the entities again with the cli. This will kill your allready existing and possible extended entities. Best would be if you have to set the option when you want the existing entities overwritten. so you cant accidently overwrite them
admin added the Improvement label 2026-01-22 13:07:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1251