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

Support multiple versions in ExecuteCommand #891

Merged
merged 2 commits into from
Jan 14, 2020
Merged

Conversation

goetas
Copy link
Member

@goetas goetas commented Dec 7, 2019

Q A
Type feature
BC Break -
Fixed issues #796

Summary

Implementation of #796 for the 3.x branch

@goetas goetas force-pushed the multiple-versons-exec branch from 8b1d5cc to e6646de Compare December 7, 2019 16:37
@goetas goetas added this to the 3.0.0 milestone Dec 10, 2019
Copy link
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

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

Thank you for the changes for multiple versions. Looks cool on first sight. Can you please also create a test for multiple versions in the version array in MigrationPlanCalculatorTest, similar to testPlanForVersionsWhenNoMigrations but with more than only C?

@goetas
Copy link
Member Author

goetas commented Dec 14, 2019

@SenseException good catch. I have also added more tests to make sure migrations are properly sorted (keeping sort order and not the order provided by the user via command line)

@goetas
Copy link
Member Author

goetas commented Dec 19, 2019

Any other feedback on this?

Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Minor doc feedback, functionality looks good. 👍

phpstan.neon.dist Show resolved Hide resolved
lib/Doctrine/Migrations/MigrationPlanCalculator.php Outdated Show resolved Hide resolved
@goetas goetas force-pushed the multiple-versons-exec branch 2 times, most recently from 7f1e435 to c820fa4 Compare December 21, 2019 10:27
@goetas goetas requested review from alcaeus and greg0ire December 21, 2019 10:32
@goetas goetas force-pushed the multiple-versons-exec branch from bf89d43 to 4c7a71b Compare December 22, 2019 08:46
@goetas
Copy link
Member Author

goetas commented Dec 22, 2019

@alcaeus @SenseException the changes you asked are done. can you please check again/approve this PR?

@goetas goetas force-pushed the multiple-versons-exec branch from 4c7a71b to 7b9dccd Compare January 3, 2020 09:40
@goetas
Copy link
Member Author

goetas commented Jan 3, 2020

Rebased on top of the latest master branch.

@greg0ire greg0ire merged commit cb74ad7 into master Jan 14, 2020
@greg0ire greg0ire deleted the multiple-versons-exec branch January 14, 2020 07:15
@greg0ire
Copy link
Member

Thanks @goetas !

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.

4 participants