File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ public function boot(PermissionRegistrar $permissionLoader)
2222 __DIR__ . '/../config/permission.php ' => $ this ->app ->configPath () . '/permission.php ' ,
2323 ], 'config ' );
2424
25- if (! class_exists ('CreatePermissionTables ' )) {
25+ if (!class_exists ('CreatePermissionTables ' )) {
2626 $ timestamp = date ('Y_m_d_His ' );
27+ $ mFilePath = $ this ->app ->databasePath () . "/migrations/ {$ timestamp }_create_permission_collections.php " ;
2728 $ this ->publishes ([
28- __DIR__ . '/../database/migrations/create_permission_collections.php.stub ' => $ this -> app -> databasePath (). " /migrations/ { $ timestamp } _create_permission_collections.php " ,
29+ __DIR__ . '/../database/migrations/create_permission_collections.php.stub ' => $ mFilePath ,
2930 ], 'migrations ' );
3031 }
3132 }
You can’t perform that action at this time.
0 commit comments