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

working on 0.0.31 Release

* -------------------------------------
* Fixed #211 ECDC-templates: change URL to for_url()
* Fixed #213 WHO-template: change URL to for_url()
* -------------------------------------
* Issue #195 RkiVaccinationImport.get_daterep_missing_in_vaccination_data(): native SQL to SQLalechemy Query
* Fixed #83  WhoImport.get_new_dates_as_array() SQLalchemy instead of SQL
* Fixed #219 WhoImport.countries() SQLalchemy instead of SQL
* -------------------------------------
* Issue #207 remove deprecated: database.port
* Issue #208 remove deprecated: database.run_run_with_debug
* Issue #209 remove deprecated: database.ITEMS_PER_PAGE
* -------------------------------------
* Issue #210 database.py: logging for Celery on Windows
* -------------------------------------
* Fixed #196 OwidImport.get_new_dates_reported_as_array() needs implementation
* -------------------------------------
* Issue #212 implement OwidService.task_database_drop_create()
* -------------------------------------
* Issue #214 implement OwidServiceUpdate.update_dimension_tables_only()
* Issue #215 implement OwidServiceUpdate.update_fact_table_incremental_only()
* Issue #216 implement OwidServiceUpdate.update_fact_table_initial_only()
* Issue #217 implement OwidServiceUpdate.update_star_schema_incremental()
* Issue #218 implement OwidServiceUpdate.update_star_schema_initial()
* -------------------------------------
parent c57ffcc7
No related branches found
No related tags found
No related merge requests found
......@@ -74,12 +74,10 @@ class AdminService:
return self
def run_admin_database_drop_and_create(self):
flash(" run database drop and create [begin]")
app.logger.info(" run database drop and create [begin]")
app.logger.info("------------------------------------------------------------")
self.__database.drop_all()
self.__database.create_all()
flash(" run database drop and create [done]")
app.logger.info("")
app.logger.info(" run database drop and create [done]")
app.logger.info("------------------------------------------------------------")
......
......@@ -46,7 +46,7 @@ class RkiVaccinationServiceUpdate:
if date_reported is None:
o = RkiVaccinationDateReported.create_new_object_factory(my_date_rep=item_date_rep)
date_reported = o
result_data_import = RkiVaccinationImport.find_by_datum(date_reported.date_reported)
result_data_import = RkiVaccinationImport.find_by_datum(date_reported.date_reported_import_str)
for item_import in result_data_import:
o = RkiVaccinationData(
date_reported=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