mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1616: SchemaTool - CreateCommand should dump "valid" SQL and omit ATTENTION line #2031
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 24, 2012).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user raphaelstolt:
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.
@doctrinebot commented on GitHub (Feb 22, 2012):
Comment created by @guilhermeblanco:
Fixed by
48dcee9d60@doctrinebot commented on GitHub (Feb 22, 2012):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/e3b6a9aa1e227b3c0436