Skip to content

Commit

Permalink
Fix migration file names format
Browse files Browse the repository at this point in the history
  • Loading branch information
reziamini committed Nov 28, 2021
1 parent 7aa194d commit 686c0ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EasyPanelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function defineRoutes()
{
if(!$this->app->routesAreCached()) {
$middlewares = array_merge(['web', 'isAdmin', 'LangChanger'], config('easy_panel.additional_middlewares'));

Route::prefix(config('easy_panel.route_prefix'))
->middleware($middlewares)
->name(getRouteName() . '.')
Expand Down Expand Up @@ -118,9 +118,9 @@ private function mergePublishes()

$this->publishes([__DIR__ . '/../resources/assets' => public_path('/assets/admin')], 'easy-panel-styles');

$this->publishes([__DIR__ . '/../database/migrations/2020_09_05_99999_create_todos_table.php' => base_path('/database/migrations/' . date('Y_m_d') . '_99999_create_admin_todos_table.php')], 'easy-panel-todo');
$this->publishes([__DIR__ . '/../database/migrations/2020_09_05_999999_create_todos_table.php' => base_path('/database/migrations/' . date('Y_m_d') . '_999999_create_admin_todos_table.php')], 'easy-panel-todo');

$this->publishes([__DIR__ . '/../database/migrations/2021_07_17_99999_create_cruds_table.php' => base_path('/database/migrations/' . date('Y_m_d') . '_99999_create_cruds_table.php')], 'easy-panel-migration');
$this->publishes([__DIR__ . '/../database/migrations/2021_07_17_999999_create_cruds_table.php' => base_path('/database/migrations/' . date('Y_m_d') . '_999999_create_cruds_table.php')], 'easy-panel-migration');

$this->publishes([__DIR__.'/../resources/lang' => resource_path('/lang')], 'easy-panel-lang');

Expand Down

0 comments on commit 686c0ef

Please sign in to comment.