Skip to content

Commit cb8bea0

Browse files
committed
docs: Correct spelling of 'declaration' in indexes documentation
1 parent af69264 commit cb8bea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/design/tables/indexes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To make searches faster on fields other than the primary key or a foreign key, y
3535
add a secondary index explicitly.
3636

3737
Regular indexes are declared as `index(attr1, ..., attrN)` on a separate line anywhere in
38-
the table declration (below the primary key divide).
38+
the table declaration (below the primary key divide).
3939

4040
Indexes can be declared with unique constraint as `unique index (attr1, ..., attrN)`.
4141

@@ -62,7 +62,7 @@ Let’s now imagine that rats in a lab are identified by the combination of `lab
6262
@schema
6363
class Rat(dj.Manual):
6464
definition = """
65-
lab_name : char(16)
65+
lab_name : char(16)
6666
rat_id : int unsigned # lab-specific ID
6767
---
6868
date_of_birth = null : date
@@ -86,7 +86,7 @@ To speed up searches by the `rat_id` and `date_of_birth`, we can explicit indexe
8686
@schema
8787
class Rat2(dj.Manual):
8888
definition = """
89-
lab_name : char(16)
89+
lab_name : char(16)
9090
rat_id : int unsigned # lab-specific ID
9191
---
9292
date_of_birth = null : date

0 commit comments

Comments
 (0)