Folder not found on running
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.5k
- Forks
- 884
- PR merge metrics
- No merged PRs in 30d
Description
We had the migration folder setup incorrectly (could not be found / didn't exist).
When trying to run a migration, it simply said 'All Done', even though migrations were meant to be done.
Running 'phinx test' showed the error to be the folder was incorrect.
This error should be visible on migrate as well as test if the folder cannot be read rather than being a silent error.
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
Start with the phinx migrate and phinx test command entry points, then trace how an invalid migration folder is handled. Reproduce the missing-folder setup and compare both commands. Done means both commands report that the folder cannot be read instead of silently reporting success.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100