def migrate_on():
 print green(('%s: Enabling Migrations' % env.host))
 with cd('/home/web2py/applications/eden/models/'):
  run("sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/' 000_config.py", pty=True)

def migrate_on ( ) : print green ( ( '%s: Enabling Migrations' % env . host ) ) with cd ( '/home/web2py/applications/eden/models/' ) : run ( "sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/' 000_config.py" , pty = True )
enabling migrations .