[DDC-1765] SchemaTool Commands should accept both --force and --dump-sql Created: 04/Apr/12  Updated: 17/Nov/12

Status: Open
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Improvement Priority: Trivial
Reporter: Rafael Dohms Assignee: Benjamin Eberlei
Resolution: Unresolved Votes: 0
Labels: None


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.

Comment by PaweĊ‚ Nowak [ 17/Nov/12 ]

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

Generated at Wed Nov 25 11:28:31 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.