slim-php-realworld-example-app icon indicating copy to clipboard operation
slim-php-realworld-example-app copied to clipboard

error when exec command `composer refresh-database`

Open BruceOuyang opened this issue 4 years ago • 0 comments

[need help] I followed the readme steps and get failed

D:\code\github\slim-php-realworld-example-app>composer refresh-database
> php vendor/bin/phinx rollback -t0; php vendor/bin/phinx migrate; php vendor/bin/phinx seed:run
Phinx by CakePHP - https://phinx.org. 0.8.1



  No arguments expected for "rollback" command, got "php".


rollback [-c|--configuration CONFIGURATION] [-p|--parser PARSER] [-e|--environment ENVIRONMENT] [-t|--target TARGET] [-d|--date DATE] [-f|--force] [-x|--dry-run]

Script php vendor/bin/phinx rollback -t0; php vendor/bin/phinx migrate; php vendor/bin/phinx seed:run handling the refresh-database event returned with error code 1

D:\code\github\slim-php-realworld-example-app>

BruceOuyang avatar Mar 03 '21 09:03 BruceOuyang