(version)
Used for upgrading database.

    :param version: Desired database version
    :type version: string
Used for upgrading database.
Used for upgrading database .
def upgrade(version):
    """Used for upgrading database.

    :param version: Desired database version
    :type version: string
    """
    version = version or 'head'

    get_manager().upgrade(version)
def upgrade ( version ) : version = version or 'head' get_manager ( ) . upgrade ( version )