Previous migrations reverted & new migrations are not processed as of v0.12.0
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.5k
- Forks
- 884
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure how to describe this problem, but I know exactly which release causes the issue and I'm assuming something has changed that is affecting my environment, but looking at the code, I do not see how.
Up to v0.12.0 (https://github.com/cakephp/phinx/releases/tag/0.12.0), everything works fine. Starting in version v0.12.0, some of my migrations are being reverted (back to about July), and new ones are not processed.
I changed the default_database to default_environment, fairly certain that would have no effect, and it did not.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare migration processing between v0.11.x and v0.12.0, using the reported release boundary as the starting point. Check the default_database and default_environment configuration while reproducing the behavior with existing and new migrations; done means previous migrations are not reverted and new migrations are processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100