Skip to content

Commit

Permalink
add migrations publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
MoamenEltouny authored Apr 2, 2022
1 parent 7a04fb7 commit c4566c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/PagesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public function boot()

public function register()
{
//
// Publishes
$this->publishes([
__DIR__ . '/Migrations/2021_02_01_000006_create_pages_table.php' => database_path('migrations/2021_02_01_000006_create_pages_table.php'),
__DIR__ . '/Migrations/2021_02_01_000007_create_page_translations_table.php' => database_path('migrations/2021_02_01_000007_create_page_translations_table.php'),
__DIR__ . '/Migrations/2021_02_01_000008_create_model_has_pages_table.php' => database_path('migrations/2021_02_01_000008_create_model_has_pages_table.php'),
], ['pharaonic', 'laravel-pages']);
}
}

0 comments on commit c4566c3

Please sign in to comment.