Browse Source

fix: 🐛 Missing primary key on payments table

IceToast 2 năm trước cách đây
mục cha
commit
9d383600bc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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[]