After change datatype from citext to text
This commit is contained in:
@@ -15,9 +15,7 @@ class ProductionQuantity extends Model
|
||||
"block_id",
|
||||
"shift_id",
|
||||
"line_id",
|
||||
"plan_quantity",
|
||||
"hourly_quantity",
|
||||
"item_code",
|
||||
"item_id",
|
||||
"serial_number",
|
||||
];
|
||||
|
||||
@@ -40,4 +38,9 @@ class ProductionQuantity extends Model
|
||||
{
|
||||
return $this->belongsTo(Line::class);
|
||||
}
|
||||
|
||||
public function item(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Item::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user