This commit is contained in:
Kenneth Reitz
2012-04-06 02:53:34 -04:00
parent b6d4937841
commit 02ffb2c309
+1 -1
View File
@@ -75,7 +75,7 @@ class Download(db.Model, BaseModel):
"""A User's download."""
__tablename__ = 'download'
patch_id = db.Column(db.Integer, db.ForeignKey(Patch.id))
patch_id = db.Column(db.Integer, db.ForeignKey('patch.id'))
checksum = db.Column(db.String(100))
file_name = db.Column(db.String(100))
file_size = db.Column(db.Integer)