php artisan migrate: Class Schema not found
artisan-migrate, database, laravel, php, web-applications
Solution
add following line on the top of that page (AppServiceProvider.php under providers directory)
use Illuminate\Support\Facades\Schema;
or
use Schema;
Problem
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.