From b7037931eeb227fe32cb43d4d71ce2272c94fa2a Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Mon, 14 Apr 2025 18:29:28 -0500 Subject: [PATCH] Update RegistroCompra.php --- app/Models/RegistroCompra.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Models/RegistroCompra.php b/app/Models/RegistroCompra.php index cb33022..eac3b6a 100644 --- a/app/Models/RegistroCompra.php +++ b/app/Models/RegistroCompra.php @@ -9,10 +9,13 @@ class RegistroCompra extends Model { use HasFactory; + protected $table = 'registros_compras'; + protected $fillable = ['user_id', 'nombre', 'email', 'saldo']; public function user() { return $this->belongsTo(User::class); } + }