gothinkster / slim-php-realworld-example-app

Exemplary real world application built with Slim
https://realworld.io
427 stars 96 forks source link

error when exec command `composer refresh-database` #26

Open BruceOuyang opened 3 years ago

BruceOuyang commented 3 years ago

[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>