DDC-816: orm:schema-tool:create --dump-sql is preceded by invalid sql statements #1004

Open
opened 2026-01-22 12:58:37 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Sep 24, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user steffenvogel:

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 :)

Originally created by @doctrinebot on GitHub (Sep 24, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user steffenvogel: 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 :)
admin added the Bug label 2026-01-22 12:58:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1004