JaguarJack/migration-generator

执行 php artisan migration:generate 报错

Closed this issue · 1 comments

$ php artisan migration:generate

   Symfony\Component\Debug\Exception\FatalThrowableError  : Call to a member fun
ction getSchemaManager() on null

  at D:\xampp\htdocs\newpet\vendor\jaguarjack\migration-generator\src\DocManager
.php:82
    78|      */
    79|     public function getDoctrineManage()
    80|     {
    81|         if (!$this->doctrineManager) {
  > 82|             $this->doctrineManager =  $this->getDoctrineDriver()->getSch
emaManager($this->getDoctrineConnection());
    83|         }
    84|
    85|         return $this->doctrineManager;
    86|     }

  Exception trace:

  1   JaguarJack\MigrateGenerator\DocManager::getDoctrineManage()
      D:\xampp\htdocs\newpet\vendor\jaguarjack\migration-generator\src\DocManage
r.php:97

  2   JaguarJack\MigrateGenerator\DocManager::getDatabasePlatform()
      D:\xampp\htdocs\newpet\vendor\jaguarjack\migration-generator\src\DocManage
r.php:215

  Please use the argument -v to see more details.

Laravel 什么版本?