Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-816

orm:schema-tool:create --dump-sql is preceded by invalid sql statements

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.0-RC1
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None
    • Environment:
      Ubuntu 10.4, Apache 2.2, PHP 5.3.3

      Description

      I used to create the schema dump for non-doctrine users with:

      bin/doctrine orm:schema-tool:create --dump-sql > sql/mysql.sql

      The output is now preceded by the following warning:

      ATTENTION: This operation should not be executed in an production enviroment.

      I would suggest to direct this warning to stderr so we can easily create our dumps

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Steffen Vogel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: