Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1765

SchemaTool Commands should accept both --force and --dump-sql

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • 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.

        Activity

        Rafael Dohms created issue -
        Rafael Dohms made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13606 ] jira-feedback [ 14048 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14048 ] jira-feedback2 [ 15912 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15912 ] jira-feedback3 [ 18167 ]
        Hide
        Paweł Nowak added a comment -
        Show
        Paweł Nowak added a comment - Proposed fix: https://github.com/doctrine/doctrine2/pull/517

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1765, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Rafael Dohms
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: