{$model->getKeyName()})) { $model->{$model->getKeyName()} = Str::uuid()->toString(); } }); } /** * Get the value indicating whether the IDs are incrementing. * * @return bool */ public function getIncrementing(): bool { return false; } /** * Get the auto-incrementing key type. * * @return string */ public function getKeyType(): string { return 'string'; } }