Mcuhos cambios .w.
This commit is contained in:
@@ -11,7 +11,7 @@ class Producto extends Model {
|
||||
use UuidPrimaryKey, SoftDeletes;
|
||||
|
||||
protected $table = 'productos';
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
|
||||
protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'pivot'];
|
||||
protected $fillable = [
|
||||
'id', 'nombre', 'precio_venta', 'categoria_id',
|
||||
'zona_produccion_id', 'restaurante_id'
|
||||
|
||||
Reference in New Issue
Block a user