feat(138): DB-Schema parcelTrackings und orderInfos #217

Merged
admin-mrrm merged 1 commit from feat-138-tracking-db-schema into main 2026-05-11 22:51:59 +02:00
Owner

Closes #138

Drizzle-Schema für order_infos und parcel_trackings im TrackingParserModule angelegt:

  • order_infos: orderNumber, shopDomain, shopName, sourceMailId (FK → mail_messages_cache, ON DELETE SET NULL)
  • parcel_trackings: trackingNumber, carrier, status, lastStatusAt, orderInfoId, sourceMailId. Unique-Constraint (owner_sub, tracking_number).
  • Relations Mail-Quelle und orderInfo ↔ trackings.
  • Migration 0007_shiny_stature.sql generiert.

Test plan

  • Integration-Tests: Insert, Unique-Constraint, ON DELETE SET NULL (5/5 grün lokal)
  • Volle Integration-Suite weiter grün (31/31)
  • Typecheck + Lint clean
  • Drone CI grün
Closes #138 Drizzle-Schema für `order_infos` und `parcel_trackings` im `TrackingParserModule` angelegt: - **order_infos**: `orderNumber`, `shopDomain`, `shopName`, `sourceMailId` (FK → `mail_messages_cache`, ON DELETE SET NULL) - **parcel_trackings**: `trackingNumber`, `carrier`, `status`, `lastStatusAt`, `orderInfoId`, `sourceMailId`. Unique-Constraint `(owner_sub, tracking_number)`. - Relations Mail-Quelle und `orderInfo ↔ trackings`. - Migration `0007_shiny_stature.sql` generiert. ## Test plan - [x] Integration-Tests: Insert, Unique-Constraint, ON DELETE SET NULL (5/5 grün lokal) - [x] Volle Integration-Suite weiter grün (31/31) - [x] Typecheck + Lint clean - [ ] Drone CI grün
feat(138): DB-Schema parcelTrackings und orderInfos
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
8990617a18
Drizzle-Schema im TrackingParserModule angelegt:
- order_infos: orderNumber, shopDomain, shopName, sourceMailId
  (FK → mail_messages_cache, ON DELETE SET NULL)
- parcel_trackings: trackingNumber, carrier, status, lastStatusAt,
  orderInfoId, sourceMailId. Unique (owner_sub, tracking_number).
- Relations für Mail-Quelle und orderInfo ↔ trackings.

Migration 0007 generiert. Integration-Tests decken Insert, Unique-Constraint
und ON DELETE SET NULL ab.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp!217
No description provided.