Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"php artisan migrate:fresh" not working #45

Open
ghost opened this issue Apr 26, 2019 · 0 comments
Open

"php artisan migrate:fresh" not working #45

ghost opened this issue Apr 26, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2019

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants