Skip to content
Discussion options

You must be logged in to vote

If all models in your application use UUID (string) as the primary key then you should be able to run the following:

$this->app['db.schema']->morphUsingUuids();

Typically from App\Providers\AppServiceProvider

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xdubois
Comment options

@Radiergummi
Comment options

@crynobone
Comment options

Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #5195 on December 29, 2022 04:51.