Laravel Fatal Error Class Not Found when migrating

后端 未结 11 2234
后悔当初
后悔当初 2021-02-02 11:39
  1. I\'ve run artisan migrate:reset.

  2. I\'ve deleted some of my migration files because I didn\'t need these tables anymore.

  3. I

11条回答
  •  终归单人心
    2021-02-02 12:02

    The actual solution is to use the correct naming for your translations. You still may need to do a

    composer dump-autoload

    The migration files must be as follows YYYY_MM_DD_000000_create_some_table.php and the class name inside must be

    class CreateSomeTable extends Migration{}

提交回复
热议问题