Skip to content
Snippets Groups Projects
Commit 782debaf authored by thomaswoehlke's avatar thomaswoehlke
Browse files

update data

parent 9274430a
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,9 @@ class RkiVaccinationImport(db.Model): ...@@ -101,9 +101,9 @@ class RkiVaccinationImport(db.Model):
from from
rki_vaccination_data rki_vaccination_data
left join left join
rki_vaccination_date_reported rki_vaccination_datereported
on on
rki_vaccination_data.date_reported_id=rki_vaccination_date_reported.id rki_vaccination_data.date_reported_id=rki_vaccination_datereported.id
group by group by
rki_vaccination_import.datum rki_vaccination_import.datum
order by order by
......
...@@ -86,17 +86,17 @@ class WhoImport(db.Model): ...@@ -86,17 +86,17 @@ class WhoImport(db.Model):
not in ( not in (
select select
distinct distinct
who_date_reported.date_reported who_datereported.date_reported
from from
who who
left join left join
who_date_reported who_datereported
on on
who.date_reported_id=who_date_reported.id who.date_reported_id=who_datereported.id
group by group by
who_date_reported.date_reported who_datereported.date_reported
order by order by
who_date_reported.date_reported desc who_datereported.date_reported desc
) )
group by group by
application__import__who.date_reported application__import__who.date_reported
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment