Mcuhos cambios .w.
This commit is contained in:
@@ -10,7 +10,7 @@ class Receta extends Model {
|
||||
use UuidPrimaryKey;
|
||||
|
||||
protected $table = 'recetas';
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'pivot'];
|
||||
protected $fillable = ['unidades', 'producto_id', 'ingrediente_id'];
|
||||
|
||||
public function ingrediente() {
|
||||
|
||||
Reference in New Issue
Block a user