diff --git a/data b/data index e7ed25899840597abae0aa240004ce1b6ea1122c..931e10de77a215881bc4fb87ed3e369a97e516b6 160000 --- a/data +++ b/data @@ -1 +1 @@ -Subproject commit e7ed25899840597abae0aa240004ce1b6ea1122c +Subproject commit 931e10de77a215881bc4fb87ed3e369a97e516b6 diff --git a/src/flask_covid19/blueprints/data_ecdc/ecdc_model.py b/src/flask_covid19/blueprints/data_ecdc/ecdc_model.py index b8d91ac68762c6611f6f76f21cbf9cda7c564d35..a8cb98c47f67dd0abae2dd4154c1bb587e755f16 100644 --- a/src/flask_covid19/blueprints/data_ecdc/ecdc_model.py +++ b/src/flask_covid19/blueprints/data_ecdc/ecdc_model.py @@ -232,6 +232,7 @@ class EcdcCountry(BlueprintLocation): class EcdcData(BlueprintFactTable): __tablename__ = 'ecdc' + __mapper_args__ = {'concrete': True} id = db.Column(db.Integer, primary_key=True) deaths = db.Column(db.Integer, nullable=False) diff --git a/src/flask_covid19/blueprints/data_owid/owid_model.py b/src/flask_covid19/blueprints/data_owid/owid_model.py index 748976eac0df22e9e05f83a6bd14448b52acd86c..a86be3787647955d4a83845a77281dc0fd1c9efa 100644 --- a/src/flask_covid19/blueprints/data_owid/owid_model.py +++ b/src/flask_covid19/blueprints/data_owid/owid_model.py @@ -86,6 +86,7 @@ class OwidContinent(BlueprintLocationGroup): class OwidCountry(BlueprintLocation): __tablename__ = 'owid_country' + __mapper_args__ = {'concrete': True} __table_args__ = ( db.UniqueConstraint('iso_code', 'location', name="uix_owid_country"), ) @@ -176,6 +177,7 @@ class OwidCountry(BlueprintLocation): class OwidData(BlueprintFactTable): __tablename__ = 'owid' + __mapper_args__ = {'concrete': True} id = db.Column(db.Integer, primary_key=True) date_reported_id = db.Column(db.Integer, diff --git a/src/flask_covid19/blueprints/data_rki/rki_model.py b/src/flask_covid19/blueprints/data_rki/rki_model.py index 54c658c1944898415886237adf361388ec04ddb5..2615364b44d68e07b2705278ede751fd331fb30e 100644 --- a/src/flask_covid19/blueprints/data_rki/rki_model.py +++ b/src/flask_covid19/blueprints/data_rki/rki_model.py @@ -179,6 +179,7 @@ class RkiLandkreis(BlueprintLocation): class RkiData(BlueprintFactTable): __tablename__ = 'rki' + __mapper_args__ = {'concrete': True} id = db.Column(db.Integer, primary_key=True) fid = db.Column(db.String(255), nullable=False)