Open j3rrey opened 5 years ago
fixed with:
$this->app->instance('path.database', app()->basePath() . DIRECTORY_SEPARATOR . 'config');
Provided you have a database.php in your config folder.
Altho there is an issue, Factories are being created in the model Namespace And it seems this generator is not smart enough to detect the different types... :(
e.g.
'created_at' => $faker->word, 'updated_at' => $faker->word,
Trying to run this in Lumen gives me on php artisan make app....
Class path.database does not exist