diff options
-rw-r--r-- | doc/build/orm/tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst index 9a1050680..6f56821ae 100644 --- a/doc/build/orm/tutorial.rst +++ b/doc/build/orm/tutorial.rst @@ -1156,7 +1156,7 @@ declarative, we define this table along with its mapped class, ``Address``: ... __tablename__ = 'addresses' ... id = Column(Integer, primary_key=True) ... email_address = Column(String, nullable=False) - ... user_id = Column(Integer, ForeignKey('users.id')) + ... user_id = Column(Integer, ForeignKey('user.id')) ... ... user = relationship("User", backref=backref('addresses', order_by=id)) ... |