def db_upgrade():
    print(green("%s: Upgrading Database" % env.host))
    # See dbstruct_mysql.py
    # Step 0: Drop old database 'sahana'
    db_drop()
    # Step 1: Create a new, empty database 'sahana' as-normal
    db_create()
    with cd("/home/web2py/applications/eden/"):
        # Step 2: set deployment_settings.base.prepopulate to False in models/000_config.py
        print(green("%s: Disabling prepopulate" % env.host))
        run("sed -i 's/deployment_settings.base.prepopulate = True/deployment_settings.base.prepopulate = 0/' models/000_config.py", pty=True)
Called when a header is loaded into the message. Should not be called
dataset/ETHPy150Open sahana/eden/static/scripts/tools/fabfile.py/db_upgrade--crossover with--dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/http.py/HTTPMessage.handle_header