Skip to content

Commit 9043e2e

Browse files
Merge pull request dimitri-yatsenko#53 from dimitri-yatsenko/claude/harmonize-foreign-keys-IzuUB
Add diagrams into Relationships
2 parents bbd04e9 + f7160cd commit 9043e2e

File tree

8 files changed

+2386
-1413
lines changed

8 files changed

+2386
-1413
lines changed

book/20-concepts/04-integrity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Referential integrity maintains logical associations across tables:
109109

110110
**Covered in:**
111111
- [Foreign Keys](../30-design/030-foreign-keys.md) — Cross-table relationships
112-
- [Relationships](../30-design/050-relationships.md) — Dependency patterns
112+
- [Relationships](../30-design/050-relationships.ipynb) — Dependency patterns
113113

114114
---
115115

book/30-design/018-primary-key.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ CREATE TABLE session (
410410
````
411411
`````
412412

413-
In this example, `Session` has a composite primary key `(subject_id, session)`. Each session is uniquely identified by *which subject* and *which session number*. This pattern is covered in detail in the [Relationships](050-relationships.md) chapter.
413+
In this example, `Session` has a composite primary key `(subject_id, session)`. Each session is uniquely identified by *which subject* and *which session number*. This pattern is covered in detail in the [Relationships](050-relationships.ipynb) chapter.
414414

415415
```{seealso}
416-
For detailed coverage of composite keys through foreign key inheritance and hierarchical relationships, see [Relationships](050-relationships.md).
416+
For detailed coverage of composite keys through foreign key inheritance and hierarchical relationships, see [Relationships](050-relationships.ipynb).
417417
```
418418

419419
# Schema Dimensions

book/30-design/030-foreign-keys.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@ CREATE TABLE order_ (
539539
`````
540540

541541
```{seealso}
542-
For detailed coverage of relationship patterns created by different foreign key placements, see [Relationships](050-relationships.md).
543-
For visual representation of these relationships, see [Diagramming](060-diagrams.md).
542+
For detailed coverage of relationship patterns created by different foreign key placements, see [Relationships](050-relationships.ipynb).
543+
For visual representation of these relationships, see [Diagramming](060-diagrams.ipynb).
544544
```
545545

546546
# Association Tables: Many-to-Many Relationships
@@ -612,7 +612,7 @@ This allows:
612612
- Each person-language combination to appear at most once
613613

614614
```{seealso}
615-
For more association table patterns and variations, see [Relationships](050-relationships.md).
615+
For more association table patterns and variations, see [Relationships](050-relationships.ipynb).
616616
```
617617

618618
# Summary
@@ -647,6 +647,6 @@ In DataJoint, they also establish **workflow dependencies** that prescribe the o
647647
:class: note
648648
649649
Now that you understand foreign keys and their modifiers:
650-
- **[Relationships](050-relationships.md)** — Explore relationship patterns: one-to-one, one-to-many, many-to-many
651-
- **[Diagramming](060-diagrams.md)** — Learn to read and interpret schema diagrams
650+
- **[Relationships](050-relationships.ipynb)** — Explore relationship patterns: one-to-one, one-to-many, many-to-many
651+
- **[Diagramming](060-diagrams.ipynb)** — Learn to read and interpret schema diagrams
652652
```

0 commit comments

Comments
 (0)