markhilton / monolog-mysql

Laravel 5 log to MySQL database
42 stars 19 forks source link

Laravel 5.5 Error on migration #1

Open frederikkunze opened 6 years ago

frederikkunze commented 6 years ago

I did follow all the installation steps and get following error when im at the step:

php artisan migrate

[Symfony\Component\Debug\Exception\FatalThrowableError] Class '' not found

dvdhoek commented 6 years ago

Boot should be changed to

$this->loadMigrationsFrom(DIR.'/path/to/migrations');

If you rename the migration file everything works fine.

d-nekrasov commented 6 years ago

I did follow all the installation steps and get following error when im at the step:

In Migrator.php line 417: Class '' not found

I solved this problem. The problem in the name of migration

dmytro-kuchura commented 6 years ago

Helllo, need before migration name file write date, for examle 2017_12_20_085205_create_logs_table.php

For me it's work

askme-gpt commented 6 years ago

Yes ,you are right , I solved this problem . we need to add d date and random number before the table .