DDC-1765: SchemaTool Commands should accept both --force and --dump-sql #2218

Closed
opened 2026-01-22 13:45:08 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 4, 2012).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user rdohms:

When running SchemaTool for schema operations you can get either a --dump-sql or make the changes using --force

When you run with --force you get a generic "1 query executed" response, there should be a way to execute it receiving feedback of the queries and making the changes.

This is good for example for my automated test env builder, as the return of this command would be logged. But i see no reason why the script can't take both options.

Originally created by @doctrinebot on GitHub (Apr 4, 2012). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user rdohms: When running SchemaTool for schema operations you can get either a --dump-sql or make the changes using --force When you run with --force you get a generic "1 query executed" response, there should be a way to execute it receiving feedback of the queries and making the changes. This is good for example for my automated test env builder, as the return of this command would be logged. But i see no reason why the script can't take both options.
admin added the ImprovementDuplicate labels 2026-01-22 13:45:08 +01:00
admin closed this issue 2026-01-22 13:45:10 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 17, 2012):

Comment created by nemek_zg:

Proposed fix: https://github.com/doctrine/doctrine2/pull/517

@doctrinebot commented on GitHub (Nov 17, 2012): Comment created by nemek_zg: Proposed fix: https://github.com/doctrine/doctrine2/pull/517
Author
Owner

@malukenho commented on GitHub (Jan 5, 2017):

@Ocramius can be closed as it was merged 👍

@malukenho commented on GitHub (Jan 5, 2017): @Ocramius can be closed as it was merged 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2218