Permalink
Browse files

docs-fix: change Connection.user to relationship in documentation

  • Loading branch information...
1 parent 87ac707 commit 83fd51689fef815bff244722d4ff6c39ed714d7d @eriktaubeneck eriktaubeneck committed Apr 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/index.rst
View
2 docs/index.rst
@@ -135,7 +135,7 @@ index::
class Connection(db.Model):
id = db.Column(db.Integer, primary_key=True)
- user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
+ user = db.relationship('user')
provider_id = db.Column(db.String(255))
provider_user_id = db.Column(db.String(255))
access_token = db.Column(db.String(255))

0 comments on commit 83fd516

Please sign in to comment.