ollieread/multiauth

php artisan multiauth:reminders-table not working

Closed this issue · 0 comments

Hi!

If I run that command that I wrote in the title, an exception is thrown with the following message:

[ErrorException]                                                                                                                                             
  file_put_contents(/vagrant/app/database/migrations/2016_08_10_140434_create_password_reminders_table.php): failed to open stream: No such file or directory 

I investigated a little bit this issue and I found that the route is set to $this->laravel['path'].

In this case the plugin wants to create the migration file in the app folder, but the database folder exists in the root of the project folder, so the location is wrong.

You can found the mentioned snippet in createBaseMigration method under Ollieread\Multiauth\Console\RemindersTableCommand class.