Skip to content

Commit 63c8b66

Browse files
authored
Improve passport:install command (#1294)
1 parent c242d48 commit 63c8b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function configureUuids()
5656
config(['passport.client_uuids' => true]);
5757
Passport::setClientUuids(true);
5858

59-
$this->replaceInFile(config_path('passport.php'), 'false', 'true');
59+
$this->replaceInFile(config_path('passport.php'), '\'client_uuids\' => false', '\'client_uuids\' => true');
6060
$this->replaceInFile(database_path('migrations/2016_06_01_000001_create_oauth_auth_codes_table.php'), '$table->unsignedBigInteger(\'client_id\');', '$table->uuid(\'client_id\');');
6161
$this->replaceInFile(database_path('migrations/2016_06_01_000002_create_oauth_access_tokens_table.php'), '$table->unsignedBigInteger(\'client_id\');', '$table->uuid(\'client_id\');');
6262
$this->replaceInFile(database_path('migrations/2016_06_01_000004_create_oauth_clients_table.php'), '$table->bigIncrements(\'id\');', '$table->uuid(\'id\')->primary();');

0 commit comments

Comments
 (0)