Skip to content

Commit b2b40ea

Browse files
authored
Merge pull request #5 from laravelcm/update-provider
Update Provider to publish migrations files
2 parents d1b20a0 + 210466f commit b2b40ea

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

src/SubscriptionServiceProvider.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ public function configurePackage(Package $package): void
1414
{
1515
$package->name('laravel-subscriptions')
1616
->hasConfigFile('laravel-subscriptions')
17+
->hasMigrations([
18+
'create_plans_table',
19+
'create_plan_features_table',
20+
'create_plan_subscriptions_table',
21+
'create_plan_subscription_usage_table',
22+
])
1723
->hasInstallCommand(function (InstallCommand $command): void {
1824
$command
1925
->publishConfigFile()

0 commit comments

Comments
 (0)