Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema tool does not dump correct sql after upgrade from 2.11 to 2.12 #9690

Closed
jaroslavlibal opened this issue Apr 27, 2022 · 1 comment
Closed

Comments

@jaroslavlibal
Copy link

BC Break Report

Q A
BC Break yes
Version 2.12.0

Summary

The new "listing" mode for SQL statements dumping removes semicolons at the end of the statements and adds an asterisk prefix to each line.

https://github.com/doctrine/orm/pull/9019/files#diff-7579891fde50fb7e38d285004486c0210492efdbdc00815a978e053ff3cb0017R93

This new type of output significantly complicates the possibility of copying SQL statements.

Previous behavior

The following SQL statements will be executed:

CREATE TABLE authorized_identity (id UUID NOT NULL, identity_id UUID NOT NULL, PRIMARY KEY(id));

Current behavior

The following SQL statements will be executed:

* CREATE TABLE authorized_identity (id UUID NOT NULL, identity_id UUID NOT NULL, PRIMARY KEY(id))
@derrabus
Copy link
Member

See #9679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants