# Table sites relationship

**URL:** <https://odm.discourse.group/t/table-sites-relationship/206>\
**Category:** Bugs\
**Tags:** odm-v3\
**Created:** [August 11, 2026, 5:23pm UTC](https://odm.discourse.group/t/table-sites-relationship/206 "2026-08-11T17:23:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wastewater\_belgium](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@wastewater\_belgium](https://odm.discourse.group/u/wastewater_belgium)\
**Post date:** [August 11, 2026, 5:23pm UTC](https://odm.discourse.group/t/table-sites-relationship/206/1 "2026-08-11T17:23:31Z")

</div>

Hi,

Shouldn’t the relation between parSiteID ans siteID be in the opposite direction?

 ![image](https://global.discourse-cdn.com/free1/uploads/odm/original/1X/2afdfb92d6fd2d0c39aa6b6721b7f7568a4265ff.png)

---

<div class="post-metadata">

**Author:** ![matthomson](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@matthomson](https://odm.discourse.group/u/matthomson)\
**Post date:** [August 14, 2026, 5:43pm UTC](https://odm.discourse.group/t/table-sites-relationship/206/2 "2026-08-14T17:43:05Z")

</div>

I had to think about it for a minute, but yes, you’re right. It is backwards! One siteID will populate parSiteID across multiple rows, so it should be classified as one-to-many. I have made the correction in the ERD in lucid chart and it’ll be reflected in the 3.0.1 release.

I think these errors in the ERD that you’re uncovering also show problems in our process for ERD generation. Because it is managed separately from the dictionary draft and is entirely manually built and edited, there is version drift and small errors that make it through to release. Generating a stronger automation of ERD generation (or at the very least some more thorough checking process) is sorely needed for successive releases as we move forward (@dmanuel )

---

<div class="post-metadata">

**Author:** ![wastewater\_belgium](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@wastewater\_belgium](https://odm.discourse.group/u/wastewater_belgium)\
**Post date:** [August 18, 2026, 1:21pm UTC](https://odm.discourse.group/t/table-sites-relationship/206/3 "2026-08-18T13:21:47Z")

</div>

Thanks for the correction.

I completely understand it is not easy to manage the various components of the ODM. I do not mind helping by detecting some 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/odm/original/1X/34f6410d4262a308493f8c3b977a49666a3a2929.png) [@system](https://odm.discourse.group/u/system)\
**Post date:** [August 19, 2026, 1:22pm UTC](https://odm.discourse.group/t/table-sites-relationship/206/4 "2026-08-19T13:22:27Z")

</div>

Closed on August 19, 2026, 1:22pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
