fill id with uuid everywhere

This commit is contained in:
Daan Meijer
2026-06-23 17:17:47 +02:00
parent e7481eac95
commit ae925c7173
7 changed files with 36 additions and 8 deletions
+2 -1
View File
@@ -9,11 +9,12 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Support\Str;
use App\Concerns\SerializesIdToUuid;
class Ledger extends Model
{
/** @use HasFactory<LedgerFactory> */
use HasFactory;
use HasFactory, SerializesIdToUuid;
protected $fillable = [
'dynamic_id',