Skip to content

Conversation

@goetas
Copy link
Member

@goetas goetas commented Apr 24, 2021

… schema

Q A
Type bug
BC Break no
Fixed issues doctrine/DoctrineMigrationsBundle#417

@goetas goetas added this to the 3.1.2 milestone Apr 24, 2021
@goetas goetas force-pushed the less-metadata-queries branch from 0d48de9 to 6cda2e0 Compare April 24, 2021 12:22
@greg0ire
Copy link
Member

Ah there are tests failures now

@goetas goetas force-pushed the less-metadata-queries branch from 6cda2e0 to 6e84944 Compare April 24, 2021 12:43
@goetas goetas requested a review from greg0ire April 24, 2021 12:44
@goetas goetas force-pushed the less-metadata-queries branch from 6e84944 to af63b46 Compare April 24, 2021 12:45
@goetas
Copy link
Member Author

goetas commented Apr 24, 2021

now it should be better! :) (ive also added tests)

@goetas goetas merged commit 1c2780d into 3.1.x Apr 24, 2021
@goetas goetas deleted the less-metadata-queries branch April 24, 2021 12:54

private function isInitialized(): bool
{
if ($this->isInitialized) {
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't you also memoize the result of tablesExist, and distinguish null vs false (we know it is not initialized yet) ?

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

Successfully merging this pull request may close these issues.

4 participants