Commit e39a5828 authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

// WIP

parent 8274c90a
......@@ -24,7 +24,7 @@ Route::name('cluster.')->group(function () {
Route::delete('/cancel/{clusterJob}', 'ClusterController@cancel')->name('cancel');
// Catch-all Route...
Route::get('*', function () {
Route::get('/*', function () {
return redirect()->route('cluster.dashboard');
});
});
......@@ -93,6 +93,11 @@ class LaravelClusterServiceProvider extends LaravelClusterApplicationServiceProv
$this->publishes([
__DIR__.'/../config/laravel-cluster.php' => config_path('laravel-cluster.php'),
], 'laravel-cluster-config');
$this->publishes([
__DIR__ . '/../database/migrations/create_cluster_jobs_table.php.stub' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_cluster_jobs_table.php'),
// you can add any number of migrations here
], 'laravel-cluster-migrations');
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment