diff -r 64639bc94e25 -r 8bd5031e2201 server/migractions.py --- a/server/migractions.py Thu Oct 20 16:03:51 2011 +0200 +++ b/server/migractions.py Fri Oct 21 09:24:29 2011 +0200 @@ -367,6 +367,8 @@ if cube: cubepath = self.config.cube_dir(cube) apc = osp.join(cubepath, 'migration', '%s.py' % event) + elif kwargs.pop('apphome', False): + apc = osp.join(self.config.apphome, 'migration', '%s.py' % event) else: apc = osp.join(self.config.migration_scripts_dir(), '%s.py' % event) if osp.exists(apc):