Open DerekBuntin opened 5 years ago
Following the instructions after composer require:
php artisan vendor:publish --provider="OptimistDigital\NovaRedirects\ToolServiceProvider" --tag="migrations" php artisan migrate
The migrations are not migrated and the message from php artisan is:
Nothing to migrate!
Changing the Boot method on the ToolServiceProvider class from:
$this->publishes([ __DIR__ . '/../database/migrations' => database_path('migrations'), , 'migrations');
To this:
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
As per https://laravel.com/docs/6.0/packages#migrations
Resolves the issue and allows the migrations to be migrated.
An update to Laravel 6x will no doubt resolve any issues.
Following the instructions after composer require:
php artisan vendor:publish --provider="OptimistDigital\NovaRedirects\ToolServiceProvider" --tag="migrations" php artisan migrate
The migrations are not migrated and the message from php artisan is:
Nothing to migrate!
Changing the Boot method on the ToolServiceProvider class from:
$this->publishes([ __DIR__ . '/../database/migrations' => database_path('migrations'), , 'migrations');
To this:
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
As per https://laravel.com/docs/6.0/packages#migrations
Resolves the issue and allows the migrations to be migrated.
An update to Laravel 6x will no doubt resolve any issues.