-
Notifications
You must be signed in to change notification settings - Fork 891
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
[0.15.3] Cannot migrate to a specific target with -t #2240
Labels
Comments
Is that a duplicate of #2231 ? |
Sounds like a cast to string is missing? Maybe someone could make a quick PR here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attempting to migrate to a specific target with the -t option, e.g.
php vendor/bin/phinx migrate --target=20210905085019
...throws a TypeError exception:
Probably caused by Symfony's getOption returning a
string
for$version
:phinx/src/Phinx/Console/Command/Migrate.php
Line 68 in bd578e7
...which is used in a method call to migrate() that's expecting an
int
.phinx/src/Phinx/Console/Command/Migrate.php
Line 124 in bd578e7
The text was updated successfully, but these errors were encountered: