Skip to content

chore(UPGRADE): v13, update oauth_clients table schema changes#1865

Merged
taylorotwell merged 2 commits intolaravel:13.xfrom
maximepvrt:patch-1
Oct 24, 2025
Merged

chore(UPGRADE): v13, update oauth_clients table schema changes#1865
taylorotwell merged 2 commits intolaravel:13.xfrom
maximepvrt:patch-1

Conversation

@maximepvrt
Copy link
Contributor

This pull request is intended to fix the migration of Passport clients. Specifically, not adding ->nullable() to the redirect_uris column causes issues when there is existing data in the database, which is the case during a migration.

The ->change() lines are meant to remove the nullable setting, applied after migrating the existing data, to stay consistent with the original migration: create_oauth_clients_table.php.

This ensures migrations run correctly without breaking existing data or causing unexpected errors.

@taylorotwell taylorotwell merged commit abfaf30 into laravel:13.x Oct 24, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants