Answers for "how to declare uuid in laravel migration"

PHP
2

uuid in laravel

use IlluminateSupportStr;

$uuid = Str::uuid()->toString();
Posted by: Guest on March-12-2021
0

UUIDs LARAVEL

//above in controller
use IlluminateSupportStr;

$uuid = (string) Str::uuid()
Posted by: Guest on November-23-2021

Code answers related to "how to declare uuid in laravel migration"

Browse Popular Code Answers by Language