Skip to content

Commit 244150f

Browse files
committed
wip
1 parent 2105267 commit 244150f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Console/InstallCommand.php

+6
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ protected function installLivewireStack()
158158
// Models...
159159
copy(__DIR__.'/../../stubs/app/Models/User.php', app_path('Models/User.php'));
160160

161+
// Factories...
162+
copy(__DIR__.'/../../database/factories/UserFactory.php', base_path('database/factories/UserFactory.php'));
163+
161164
// Actions...
162165
copy(__DIR__.'/../../stubs/app/Actions/Fortify/CreateNewUser.php', app_path('Actions/Fortify/CreateNewUser.php'));
163166
copy(__DIR__.'/../../stubs/app/Actions/Fortify/UpdateUserProfileInformation.php', app_path('Actions/Fortify/UpdateUserProfileInformation.php'));
@@ -329,6 +332,9 @@ protected function installInertiaStack()
329332
// Models...
330333
copy(__DIR__.'/../../stubs/app/Models/User.php', app_path('Models/User.php'));
331334

335+
// Factories...
336+
copy(__DIR__.'/../../database/factories/UserFactory.php', base_path('database/factories/UserFactory.php'));
337+
332338
// Actions...
333339
copy(__DIR__.'/../../stubs/app/Actions/Fortify/CreateNewUser.php', app_path('Actions/Fortify/CreateNewUser.php'));
334340
copy(__DIR__.'/../../stubs/app/Actions/Fortify/UpdateUserProfileInformation.php', app_path('Actions/Fortify/UpdateUserProfileInformation.php'));

0 commit comments

Comments
 (0)