sandervanhooft / laravel-invoicable

Easy invoice creation for Laravel
https://www.sandervanhooft.com/blog/laravel/stop-creating-your-laravel-invoices-manually/
MIT License
146 stars 40 forks source link

Installation doesn't work - on publishing migrations #2

Closed PovilasKorop closed 7 years ago

PovilasKorop commented 7 years ago

This command

$ php artisan vendor:publish --provider="SanderVanHooft\Invoicable\InvoicableServiceProvider" --tag="migrations" doesn't work.

Filename is incorrect:

        // Publish migrations
         $this->publishes([
             __DIR__.'/../database/migrations/2017_06_17_163005_create_invoices_table.php'
             => database_path('migrations/2017_06_17_163005_create_invoices_table.php'),
         ], 'migrations');

Versus folder contents:

screen shot 2017-07-03 at 8 46 39 am
sandervanhooft commented 7 years ago

@PovilasKorop Thanks for bringing that up. The filename should indeed be ..._invoices_tables.php instead of ..._invoices_table.php. I'll patch it.

sandervanhooft commented 7 years ago

Patched. Thanks @PovilasKorop !