When doing a migration, in the Windows console I execute the command:
php artisan migrate
When I run the command, it shows me the following error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Market\Providers\Schema' not found
I would be very grateful if anyone can help me.
add following line on the top of that page (AppServiceProvider.php under providers directory)
use Illuminate\Support\Facades\Schema;
or
use Schema;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With