Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Preserve existing Doctrine schema#50742

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:5.4fromnicolas-grekas:doctrine-deprec
Jun 22, 2023

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedJun 22, 2023
edited
Loading

QA
Branch?5.4
Bug fix?no (fixing a not released bug)
New feature?no
Deprecations?no
TicketsFix#50717
LicenseMIT
Doc PR-

Inlining since Doctrine deprecated "toSaveSql" without providing an alternative.

Cleaning up a few unneeded calls toORMSetup::createConfiguration() also.

brusch reacted with thumbs up emoji
@nicolas-grekas
Copy link
MemberAuthor

nicolas-grekas commentedJun 22, 2023
edited
Loading

/cc@morozov@derrabus@greg0ire doesthat sound correct to you?

@derrabus
Copy link
Member

IIRC, the alternative totoSaveSql is to introspect only the schema assets that you actually manage before comparing it to the target schema. The rationale is that if you introspect a database with lots of tables/columns/indexes/etc although you're interested in one table only, you keep the database unnecessarily busy.

@nicolas-grekas
Copy link
MemberAuthor

Can you help with this? I'm not fluent enough in Doctrine to turn that into code 🙈
Or is the attached patch good enough?

Copy link
Member

@derrabusderrabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think, the change will work, given that you simply inlined the method. We could iterate on this for 6.4.

@nicolas-grekasnicolas-grekas merged commitd048b8a intosymfony:5.4Jun 22, 2023
@nicolas-grekasnicolas-grekas deleted the doctrine-deprec branchJune 24, 2023 12:49
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus approved these changes

@jderussejderusseAwaiting requested review from jderussejderusse is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp