Skip to content

Commit

Permalink
migration can now be published
Browse files Browse the repository at this point in the history
  • Loading branch information
saqueib committed Dec 20, 2018
1 parent ba67549 commit 435dcbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SettingsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ public function boot()
{
// Load migration
$this->loadMigrationsFrom(__DIR__.'/migrations');

// publish migration
$this->publishes([
__DIR__ . '/migrations/2014_10_00_000000_create_settings_table.php' => database_path("/migrations/2014_10_00_000000_create_settings_table")
], 'migrations');
}

/**
Expand Down

0 comments on commit 435dcbd

Please sign in to comment.