Forráskód Böngészése

fix: 🐛 Missing primary key on payments table

IceToast 2 éve
szülő
commit
9d383600bc
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      app/Models/Payment.php

+ 1 - 0
app/Models/Payment.php

@@ -13,6 +13,7 @@ class Payment extends Model
     use HasFactory;
 
     public $incrementing = false;
+    protected $primaryKey = 'id';
 
     /**
      * @var string[]