Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1616

SchemaTool - CreateCommand should dump "valid" SQL and omit ATTENTION line

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.3
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      When running "doctrine orm:schema-tool:create --dump-sql" it should not omit the semicolon of the last SQL statement (though the current SQL output is also valid and executable) and it should omit the ATTENTION line (or output it as an SQL commented line) as the schema isn't applied/created anyways.

      This would make it much easier to write for e.g. the SQL schema to a file for further processing; but might also break systems (e.g. buildsystems) which have a workaround for the above mentioned shortcoming.

        Activity

        Show
        Guilherme Blanco added a comment - Fixed by https://github.com/doctrine/doctrine2/commit/48dcee9d60459fce1542d11536d465f5d89cff55

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Raphael Stolt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: