所以我刚开始玩 Laravel 5.1。我创建了一个名为“教师”的迁移模型。然后我手动删除了包含 Teachers 类的 Teachers.php 模型文件。现在,当我尝试回滚时,出现以下错误:
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'CreateTeachersTable' not found
我试过了,composer dump-autoload
但它一直在给出上述错误。我只想重新开始。如何重置一切?php artisan migrate:refresh
php artisan migrate:reset