Skip to content

Commit

Permalink
Merge pull request #5 from laravelcm/update-provider
Browse files Browse the repository at this point in the history
Update Provider to publish migrations files
  • Loading branch information
mckenziearts authored Oct 3, 2023
2 parents d1b20a0 + 210466f commit b2b40ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions src/SubscriptionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public function configurePackage(Package $package): void
{
$package->name('laravel-subscriptions')
->hasConfigFile('laravel-subscriptions')
->hasMigrations([
'create_plans_table',
'create_plan_features_table',
'create_plan_subscriptions_table',
'create_plan_subscription_usage_table',
])
->hasInstallCommand(function (InstallCommand $command): void {
$command
->publishConfigFile()
Expand Down

0 comments on commit b2b40ea

Please sign in to comment.