Move app into module structure

This commit is contained in:
2026-06-15 10:11:05 +02:00
parent 63a1e79147
commit 6fc7ba6a0b
14 changed files with 3154 additions and 3130 deletions
@@ -0,0 +1,51 @@
# DB Ownership
Stand: 2026-06-15
Status: Verbindliche Ownership-Referenz
## 1. Zweck
Diese Referenz ordnet die aktuellen Tabellen, Views und technischen DB-Artefakte den owning Modulen zu.
## 2. Phase-1 Ownership
### `kontakte`
- `party`
- `address`
- `contact`
### `bestellungen`
- `sales_order`
- `sales_order_line`
- `sales_order_line_lot_allocation`
- `payment_method`
- `shipping_method`
### `lager`
- `product`
- `warehouse`
- `location`
- `stock_lot`
- `stock_move`
- `v_stock_lot_balance`
### `artikel-mapping`
- `sellable_item`
- `external_item_alias`
- `sellable_item_component`
### `system`
- `audit_log`
- `outbound_webhook_event`
## 3. Hinweise
- Die Ownership ist fachlich und technisch bindend.
- Fremde Module schreiben nicht direkt in diese Artefakte.
- `shared` besitzt keine fachlichen Tabellen.
- Neue Tabellen fuer `buchhaltung` und `kundenberatung` werden erst mit deren Modulvertraegen definiert.