From 6bd3817f046687b740ac71b4a10ede2cb083dbdc Mon Sep 17 00:00:00 2001 From: "Thomas G. Close" Date: Thu, 13 Aug 2020 16:45:46 +1000 Subject: [PATCH] added tablename to affiliations --- app/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models.py b/app/models.py index 154dff9..2487625 100644 --- a/app/models.py +++ b/app/models.py @@ -90,6 +90,8 @@ def __init__(self, doi, title, eid=None, pii=None, date=None, class Affiliation(db.Model): + __tablename__ = 'affiliations' + id = db.Column(db.Integer, primary_key=True) scopus_id = db.Column(db.String(200), unique=True)