在laravel 5.1中,流浪汉,当我跑步时
php artisan migrate
迁移:2017_04_20_205912_alter_3_discounts_table
但是当我跑步时
php artisan migrate:rollback
显示此消息:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Alter3DiscountsTable' not found
我有这门课,但我不知道为什么要显示这条消息!
任何人都能提供帮助吗?
**我运行composer dumpautoload
并显示:
[RuntimeException]
File at "/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Directory.php" does not exist, check your classmap definitions
答案 0 :(得分:0)
好的,我发现了这个:
$chcp.com 1252
=> Active code page: 1252
现在运行时:
$ composer dumpautoload
没关系并显示:
Generating autoload files