Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1765

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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

        rdohms Rafael Dohms created issue -
        rdohms Rafael Dohms made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 13606 ] jira-feedback [ 14048 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14048 ] jira-feedback2 [ 15912 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15912 ] jira-feedback3 [ 18167 ]
        Hide
        nemek_zg Paweł Nowak added a comment -
        Show
        nemek_zg 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={expand=changesets[0:20].revisions[0:29],reviews, query=DDC-1765}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: