Discount
5 tables · FK edges: 3 · app-level edges: 0 · polymorphic: 0
Legend — solid
--: enforced database FK · dashed..: Eloquent relation without a DB FK.PKprimary ·FKforeign key (arrow shows target) ·UKunique.
Unresolved reference columns
Reference-looking columns with neither a DB FK nor an Eloquent relation — cross-module references resolved via gateways at runtime. Targets inferred from naming, not verified:
discount_promotion_categories.category_iddiscount_promotion_products.product_id→catalog_products / discount_promotion_products (ambiguous)?discount_redemptions.order_id→order_orders?discount_redemptions.user_id→auth_users / user_users (ambiguous)?