Mercurial > kallithea
diff rhodecode/lib/db_manage.py @ 3179:cd50d1b5f35b
merged with beta
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 21 Jan 2013 00:03:44 +0100 |
parents | 3259dc7caea4 b31984972e95 |
children | 3563bb7b4b82 |
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py Fri Dec 14 04:45:03 2012 +0100 +++ b/rhodecode/lib/db_manage.py Mon Jan 21 00:03:44 2013 +0100 @@ -164,8 +164,8 @@ 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 @@ '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