Skip to content

Commit

Permalink
Update migration handling in EnumPermissionServiceProvider to support…
Browse files Browse the repository at this point in the history
… adding enum permission column
  • Loading branch information
tharindarodrigo committed Dec 31, 2024
1 parent 0c32da7 commit cfdfc8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/EnumPermissionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ public function configurePackage(Package $package): void
->name('enum-permission')
->hasConfigFile()
->hasViews()
->hasMigration('create_enum-permission_table')
->hasMigrations([
'add_enum_permission_column_to_permissions_table',
])
->hasCommand(EnumPermissionCommand::class)
->hasCommand(SyncPermissionCommand::class);
}
Expand Down

0 comments on commit cfdfc8d

Please sign in to comment.