Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change DatabaseNotification keyType to match uuid (#30823)
The default primary key for database notifications is a UUID, but the default `keyType` (from the base model) is an `int`. This causes ids with string UUIDs to be force cast as integers in MorphTo and other relationships. https://github.com/laravel/framework/blob/f5c3c60d52eccd77274e586fc4c775374e826b0f/src/Illuminate/Database/Eloquent/Relations/Relation.php#L310-L323
- Loading branch information