Open Grummfy opened 2 years ago
Hello, when the primary key is a uuid (string) we need to add protected $keyType = 'string'; in the model
protected $keyType = 'string';
If possible add a trait in the usage too (custom value)
note, since 9.26 I think, laravel has a trait dedicated to uuid
Hello, when the primary key is a uuid (string) we need to add
protected $keyType = 'string';
in the modelIf possible add a trait in the usage too (custom value)