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
make upgrade script names unique #8550
Comments
Writing a test? 😛 |
I don't even know if this is fixable because all the upgrade scripts are already in
Where the value is the filename of the upgrade script. Making any change to this logic would cause all upgrade scripts to run again which would probably break on most forums. Might have to start using the version name as part of the filename for upgrade scripts from now on. So instead of |
Why not just keep naming them how we are and adding a test to make sure no two scripts have the same name? |
Went with something else. |
Does that solution get executed during tests? |
flush test db after tests are complete
There were no tests for upgrades, added one to cover this. |
Right now it is possible to create upgrade scripts with duplicates which would cause the script to not run at all.
The text was updated successfully, but these errors were encountered: