mercredi 31 août 2016

Laravel 5 - Artisan::call('migrate',['--path' => $database_path."/migrations/new_migrations"]); not working

I am trying to execute migrations from the folder "new_migration" which is created in database/migration folder

$database_path = database_path();    Artisan::call('migrate',['--path'
=> $database_path."/migrations/new_migrations"]);

On local server its working fine.

my website hosted on forge server on which its not working, is there any permission issue?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2c7QfLo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire