We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
publishesMigrations
1 parent ccee4b4 commit 54522d7Copy full SHA for 54522d7
src/FortifyServiceProvider.php
@@ -136,7 +136,9 @@ protected function configurePublishing()
136
__DIR__.'/../stubs/UpdateUserPassword.php' => app_path('Actions/Fortify/UpdateUserPassword.php'),
137
], 'fortify-support');
138
139
- $this->publishes([
+ $method = method_exists($this, 'publishesMigrations') ? 'publishesMigrations' : 'publishes';
140
+
141
+ $this->{$method}([
142
__DIR__.'/../database/migrations' => database_path('migrations'),
143
], 'fortify-migrations');
144
}
0 commit comments