aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/models.py')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index 0fd9eb73..caed0ef2 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -116,7 +116,7 @@ class Article(db.Model):
date = db.Column(db.DateTime(), default=datetime.now)
retrieved_date = db.Column(db.DateTime(), default=datetime.now)
- station_id = db.Column(db.Integer, db.ForeignKey('feed.id'))
+ feed_id = db.Column(db.Integer, db.ForeignKey('feed.id'))
def __repr__(self):
return '<Article %r>' % (self.title)
bgstack15