[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 | ||
| Description |
|
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. |
| Comments |
| Comment by Paweł Nowak [ 17/Nov/12 ] |
|
Proposed fix: https://github.com/doctrine/doctrine2/pull/517 |