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

Closed
opened 2026-01-22 13:07:17 +01:00 by admin · 1 comment
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:17 +01:00
admin closed this issue 2026-01-22 13:07:18 +01:00
Author
Owner

@billschaller commented on GitHub (Jan 5, 2016):

There are a number of options for the entity generator that now cover this.

@billschaller commented on GitHub (Jan 5, 2016): There are a number of options for the entity generator that now cover this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1254