Agrega Productos y sus recetas
This commit is contained in:
@@ -10,6 +10,7 @@ class Receta extends Model {
|
||||
use UuidPrimaryKey;
|
||||
|
||||
protected $table = 'recetas';
|
||||
protected $fillable = ['unidades', 'producto_id', 'ingrediente_id'];
|
||||
|
||||
public function ingrediente() {
|
||||
return $this->belongsTo(Ingrediente::class);
|
||||
|
||||
Reference in New Issue
Block a user