Switch Cuid2 to a non-deprecated package

This commit is contained in:
Andras Bacsai committed 2023-03-24 16:56:56 +01:00
1 parent 789b699556
commit 9e326d15b9
4 files changed
+161 -156

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Xaevik\Cuid2\Cuid2;
use Visus\Cuid2\Cuid2;
abstract class BaseModel extends Model
{
@@ -15,4 +15,4 @@ abstract class BaseModel extends Model
$model->uuid = (string) new Cuid2();
});
}
}
}