Files
edr-platform/apps/edr-freight-api/src/migrations
Hagernesh 9eb10bb4ce feat(warehouses): auto-load targets a selected train, never loads trainless
"Auto Load Ready Items" now opens a train picker (pre-dispatch trains with
these bookings assigned, via the existing loadable-trains flow). No train
available -> no auto-loading, with a clear notice. Loading goes through the
existing per-wagon load path, so items without an allocated wagon are skipped
with a reason.

The train association is stored on the existing warehouse_loadings table
(no new table needed): new train_schedule_id column + a note recording train
number, origin -> destination, and departure time; wagon_id becomes nullable.
The trainless load-passed-export endpoint, its frontend wiring, and the unused
useLoadPassedExport hook are removed.

Migration 2100000000000 (idempotent) also applied to the dev database.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 08:34:14 +00:00
..
2026-06-18 09:46:35 +00:00
2026-06-19 12:17:18 +00:00
2026-06-22 07:54:07 +00:00
2026-06-22 07:58:56 +00:00
fix
2026-06-24 09:30:11 +00:00
2026-07-01 20:55:17 +03:00
fix
2026-07-02 08:51:21 +00:00
fix
2026-07-02 11:22:35 +00:00
fix
2026-07-02 13:15:44 +00:00
fix
2026-07-02 14:37:38 +00:00
fix
2026-07-03 13:49:55 +00:00
fix
2026-07-03 14:07:43 +00:00
fix
2026-07-03 15:21:23 +00:00
2026-07-06 12:05:52 +00:00
2026-07-06 12:05:52 +00:00
2026-07-06 12:05:52 +00:00
2026-07-06 12:05:52 +00:00
fix
2026-07-06 12:23:25 +00:00
2026-07-07 06:39:02 +00:00