diff --git a/rhodecode/lib/db_manage.py b/rhodecode/lib/db_manage.py --- a/rhodecode/lib/db_manage.py +++ b/rhodecode/lib/db_manage.py @@ -164,8 +164,8 @@ class DbManage(object): def step_0(self): # step 0 is the schema upgrade, and than follow proper upgrades - notify('attempting to do database upgrade to version %s' \ - % __dbversion__) + notify('attempting to do database upgrade from ' + 'version %s to version %s' %(curr_version, __dbversion__)) api.upgrade(db_uri, repository_path, __dbversion__) notify('Schema upgrade completed') @@ -286,6 +286,9 @@ class DbManage(object): 'Please validate and check default permissions ' 'in admin panel') + def step_10(self): + pass + upgrade_steps = [0] + range(curr_version + 1, __dbversion__ + 1) # CALL THE PROPER ORDER OF STEPS TO PERFORM FULL UPGRADE