Database Migrations not published in L5
Closed this issue · 3 comments
pkunze commented
I've just found quite a minor issue. The Migrations aren't published by default, so that the Tables are missing on a virgin install.
Im not experienced in Package Dev but I suppose it could be solved by adding sth. like
$this->publishes([
__DIR__.'/../database/migrations/' => base_path('/database/migrations')
], 'migrations');
to Watson\Autologin\AutologinServiceProvider->boot()
Hope this helps!
dwightwatson commented
I published a 0.3.2 release shortly after the fix earlier today. I'm not sure migrations publish automatically in Laravel 5 (they didn't in Laravel 4) but the readme now contains the commands to publish the config and migrations for your project.
pkunze commented
Alright, sorry, didn't see that.
dwightwatson commented
No worries, was going to say let me know if it doesn't work but I'll assume now that it's okay!