Skip to content

Introduce version comparator#910

Merged
goetas merged 3 commits intodoctrine:masterfrom
goetas:version-comparator
Jan 14, 2020
Merged

Introduce version comparator#910
goetas merged 3 commits intodoctrine:masterfrom
goetas:version-comparator

Conversation

@goetas
Copy link
Member

@goetas goetas commented Jan 13, 2020

Q A
Type improvement
BC Break -
Fixed issues -

Closes #902

Summary

This is an alternative implementation to #902

The main change is that now the comparing function does not receive instances of AvailableMigration but Version. This change is needed if we want to be able to sort executed unavailable migrations. Being able to sort unavailable migrations is important to allow to implement properly #908 by offering all the migrations in a single table instead of two separate.

@goetas goetas added this to the 3.0.0 milestone Jan 13, 2020
@goetas goetas force-pushed the version-comparator branch from 4a9ccd3 to 48cbbd8 Compare January 13, 2020 08:48
@greg0ire
Copy link
Member

greg0ire commented Jan 13, 2020

@pulzarraider please review

@goetas goetas requested a review from greg0ire January 14, 2020 06:17
goetas and others added 3 commits January 14, 2020 08:26
Co-Authored-By: Grégoire Paris <postmaster@greg0ire.fr>
Co-Authored-By: Grégoire Paris <postmaster@greg0ire.fr>
@goetas goetas force-pushed the version-comparator branch from 4c635ab to 937378c Compare January 14, 2020 07:26
@goetas
Copy link
Member Author

goetas commented Jan 14, 2020

@pulzarraider I'm merging this in order to be able to continue to work on #908 .
We can continue the discussion here, on a merged PR.

@goetas goetas merged commit b31e429 into doctrine:master Jan 14, 2020
@goetas goetas deleted the version-comparator branch January 14, 2020 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants