A workshop can exist before anyone registers, and a single registration is for one workshop. Put both rules in the diagram so the reader can check them from either side.

Write the two cardinalities in Mermaid

~~~mermaid
erDiagram
  WORKSHOP ||..o{ REGISTRATION : receives
~~~

The two bars at WORKSHOP say each registration belongs to exactly one workshop. The circle and crow’s foot at REGISTRATION allow zero or many registrations per workshop. The dotted line is a non-identifying relationship, appropriate when a registration has its own identifier in this example.

Two bars mark exactly one WORKSHOP, while a circle and crow’s foot allow zero or many REGISTRATION records.

Illustrated relationship. The dotted line represents a non-identifying relationship.

Try an empty workshop and one with three sign-ups

Both cases fit. A registration that covers multiple workshops would require a different model. Open the saved note in the intended viewer and check that the markers are distinct. Keep the rule in a nearby sentence so readers can verify it without the diagram.

A workshop with no registrations and a workshop with three registrations both fit the rule.

Illustrated cardinality test. Every displayed registration links to one workshop.

Mermaid’s entity relationship syntax