Skip to content

"php artisan migrate:fresh" not working #45

@ghost

Description

When I use php artisan migrate:fresh I got this error:

~$ php artisan migrate:fresh
   LogicException  : This database driver does not support dropping all tables.
  at ..../vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:203
    199|      * @throws \LogicException
    200|      */
    201|     public function dropAllTables()
    202|     {
  > 203|         throw new LogicException('This database driver does not support dropping all tables.');
    204|     }
    205|
    206|     /**
    207|      * Drop all views from the database.
  Exception trace:
  1   Illuminate\Database\Schema\Builder::dropAllTables()
      ..../vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/FreshCommand.php:72
  2   Illuminate\Database\Console\Migrations\FreshCommand::dropAllTables()
      ..../vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/FreshCommand.php:46
  Please use the argument -v to see more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions