##// END OF EJS Templates
db-migration: we run cleanup of cache keys AFTER upgrade....
marcink -
r3847:73b9614c default
parent child Browse files
Show More
@@ -117,7 +117,7 b' class DbManage(object):'
117 self.sa.add(ver)
117 self.sa.add(ver)
118 log.info('db version set to: %s', __dbversion__)
118 log.info('db version set to: %s', __dbversion__)
119
119
120 def run_pre_migration_tasks(self):
120 def run_post_migration_tasks(self):
121 """
121 """
122 Run various tasks before actually doing migrations
122 Run various tasks before actually doing migrations
123 """
123 """
@@ -172,7 +172,6 b' class DbManage(object):'
172
172
173 notify(msg)
173 notify(msg)
174
174
175 self.run_pre_migration_tasks()
176
175
177 if curr_version == __dbversion__:
176 if curr_version == __dbversion__:
178 log.info('This database is already at the newest version')
177 log.info('This database is already at the newest version')
@@ -194,6 +193,7 b' class DbManage(object):'
194
193
195 _step = step
194 _step = step
196
195
196 self.run_post_migration_tasks()
197 notify('upgrade to version %s successful' % _step)
197 notify('upgrade to version %s successful' % _step)
198
198
199 def fix_repo_paths(self):
199 def fix_repo_paths(self):
General Comments 0
You need to be logged in to leave comments. Login now