-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: migrate:rollback -b
impossible due to TypeError
#8955
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
Comments
There don't seem to be any tests. This is most likely due to |
5 tasks
Chekc #8958 |
migrate:rollback -b
impossible due to TypeError
Thanks, it works fine now :-D |
The PR is not merged yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHP Version
8.2
CodeIgniter4 Version
4.5.1
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 10.10.2
What happened?
I got this error when trying to rollback :
Steps to Reproduce
Run this command : php spark migrate:rollback -b 52 (my batch number)
Expected Output
The rollback should have been done with a success message, or an error if function down is not correct
Anything else?
The batch number is considered as a string ('52'), i think the correct call would be CodeIgniter\Database\MigrationRunner()->regress(52)
The text was updated successfully, but these errors were encountered: