A free open source IT asset/license management system
Backfill to order items
snipe915f6eb59eff
diff --git a/database/migrations/2026_08_03_142000_backfill_orders_from_inventory_tables.php b/database/migrations/2026_08_03_142000_backfill_orders_from_inventory_tables.phpindex 9d2a46759a..a5a6346dec 100644--- a/database/migrations/2026_08_03_142000_backfill_orders_from_inventory_tables.php+++ b/database/migrations/2026_08_03_142000_backfill_orders_from_inventory_tables.php@@ -118,6 +118,7 @@ return new class extends Migration'item_id' => $row->id,'qty' => max(1, (int) ($qtyMap[$row->id] ?? 1)),'price' => $row->purchase_cost,+ 'created_by' => $row->created_by,'created_at' => $row->created_at ?? now(),'updated_at' => $row->created_at ?? now(),]);