From 4a4b2611e30f7d942757770f7a7067309d06e063 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 29 Mar 2015 13:38:39 +0200 Subject: reproducible: db_maintenance: update comments, removing references to a dev version of the script --- bin/reproducible_db_maintenance.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py index 7c41d516..3545a238 100755 --- a/bin/reproducible_db_maintenance.py +++ b/bin/reproducible_db_maintenance.py @@ -360,10 +360,9 @@ def db_create_tables(): def db_update(): """ Update the database schema. - Get a list of queries to perform from schema_updates, and (if needed) - some python code from the above run_update_code(). + Get a list of queries to perform from schema_updates. The need for an update is detected by checking the biggest value in the - rb_schema table against the biggest value in the schema_updates dictionary + rb_schema table against the biggest value in the schema_updates dictionary. """ current = query_db('SELECT MAX(version) FROM rb_schema')[0][0] if not current: -- cgit v1.2.3-70-g09d2