Skip to content

Commit 9580162

Browse files
author
Sergey Sokolov
authored
Update example_schema.rst
Fix `Band.manager` being a `Varchar` instead of `ForeignKey` field
1 parent e5c32a4 commit 9580162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/piccolo/getting_started/example_schema.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is the schema used by the example queries throughout the docs.
1717
1818
class Band(Table):
1919
name = Varchar(length=100)
20-
manager = Varchar(length=100)
20+
manager = ForeignKey(references=Manager)
2121
popularity = Integer()
2222
2323
To understand more about defining your own schemas, see :ref:`DefiningSchema`.

0 commit comments

Comments
 (0)