diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 843dc5d4e..f5ed11023 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -56,7 +56,7 @@ protected function configureUuids() config(['passport.client_uuids' => true]); Passport::setClientUuids(true); - $this->replaceInFile(config_path('passport.php'), 'false', 'true'); + $this->replaceInFile(config_path('passport.php'), '\'client_uuids\' => false', '\'client_uuids\' => true'); $this->replaceInFile(database_path('migrations/2016_06_01_000001_create_oauth_auth_codes_table.php'), '$table->unsignedBigInteger(\'client_id\');', '$table->uuid(\'client_id\');'); $this->replaceInFile(database_path('migrations/2016_06_01_000002_create_oauth_access_tokens_table.php'), '$table->unsignedBigInteger(\'client_id\');', '$table->uuid(\'client_id\');'); $this->replaceInFile(database_path('migrations/2016_06_01_000004_create_oauth_clients_table.php'), '$table->bigIncrements(\'id\');', '$table->uuid(\'id\')->primary();');