@@ -103,14 +103,6 @@ protected function configureSession()
103103 $ this ->replaceInFile ("'SESSION_DRIVER', 'file' " , "'SESSION_DRIVER', 'database' " , config_path ('session.php ' ));
104104 $ this ->replaceInFile ('SESSION_DRIVER=file ' , 'SESSION_DRIVER=database ' , base_path ('.env ' ));
105105 $ this ->replaceInFile ('SESSION_DRIVER=file ' , 'SESSION_DRIVER=database ' , base_path ('.env.example ' ));
106-
107- foreach ((new Filesystem )->files (database_path ('migrations ' )) as $ file ) {
108- if (Str::contains ($ file ->getRealPath (), 'create_sessions_table ' )) {
109- $ this ->replaceInFile ("foreignId('user_id') " , "uuid('user_id') " , $ file ->getRealPath ());
110-
111- break ;
112- }
113- }
114106 }
115107
116108 /**
@@ -132,8 +124,6 @@ protected function installLivewireStack()
132124 $ this ->output ->write ($ output );
133125 });
134126
135- $ this ->replaceInFile ('morphs ' , 'uuidMorphs ' , database_path ('migrations/2019_12_14_000001_create_personal_access_tokens_table.php ' ));
136-
137127 // Update Configuration...
138128 $ this ->replaceInFile ('inertia ' , 'livewire ' , config_path ('jetstream.php ' ));
139129 $ this ->replaceInFile ("'guard' => 'web' " , "'guard' => 'sanctum' " , config_path ('auth.php ' ));
@@ -279,8 +269,6 @@ protected function installInertiaStack()
279269 $ this ->output ->write ($ output );
280270 });
281271
282- $ this ->replaceInFile ('morphs ' , 'uuidMorphs ' , database_path ('migrations/2019_12_14_000001_create_personal_access_tokens_table.php ' ));
283-
284272 // Update Configuration...
285273 $ this ->replaceInFile ("'guard' => 'web' " , "'guard' => 'sanctum' " , config_path ('auth.php ' ));
286274
0 commit comments