Browse Source

fix: 🐛 Missing primary key on payments table

IceToast 2 years ago
parent
commit
9d383600bc
1 changed files with 1 additions and 0 deletions
  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[]