src/Helper/UpgradeHandler.php
protected static function upgradeJumpTo()
    {
        $objDB = self::DB();
        if ($objDB->tableExists('tl_content', null, true)
            && !$objDB->fieldExists('metamodel_jumpTo', 'tl_content', true)
        ) {
            // Create the column in the database and copy the data over.
            TableManipulation::createColumn(
                'tl_content',
                'metamodel_jumpTo',
                'int(10) unsigned NOT NULL default \'0\''
            );
            if ($objDB->fieldExists('jumpTo', 'tl_content', true)) {
                $objDB->execute('UPDATE tl_content SET metamodel_jumpTo=jumpTo;');
            }
        }

        if ($objDB->tableExists('tl_module', null, true)
            && !$objDB->fieldExists('metamodel_jumpTo', 'tl_module', true)
        ) {
            // Create the column in the database and copy the data over.
            TableManipulation::createColumn(
                'tl_module',
                'metamodel_jumpTo',
                'int(10) unsigned NOT NULL default \'0\''
            );
            if ($objDB->fieldExists('jumpTo', 'tl_module', true)) {
                $objDB->execute('UPDATE tl_module SET metamodel_jumpTo=jumpTo;');
            }
        }
    }
protected static function upgradeJumpTo()
    {
        $objDB = self::DB();
        if ($objDB->tableExists('tl_content', null, true)
            && !$objDB->fieldExists('metamodel_jumpTo', 'tl_content', true)
        ) {
            // Create the column in the database and copy the data over.
            TableManipulation::createColumn(
                'tl_content',
                'metamodel_jumpTo',
                'int(10) unsigned NOT NULL default \'0\''
            );
            if ($objDB->fieldExists('jumpTo', 'tl_content', true)) {
                $objDB->execute('UPDATE tl_content SET metamodel_jumpTo=jumpTo;');
            }
        }

        if ($objDB->tableExists('tl_module', null, true)
            && !$objDB->fieldExists('metamodel_jumpTo', 'tl_module', true)
        ) {
            // Create the column in the database and copy the data over.
            TableManipulation::createColumn(
                'tl_module',
                'metamodel_jumpTo',
                'int(10) unsigned NOT NULL default \'0\''
            );
            if ($objDB->fieldExists('jumpTo', 'tl_module', true)) {
                $objDB->execute('UPDATE tl_module SET metamodel_jumpTo=jumpTo;');
            }
        }
    }
Handle database upgrade for the jumpTo field.

Introduced: pre release 1.0.

If the field 'metamodel_jumpTo' does exist in tl_module or tl_content,
it will get created and the content from jumpTo will get copied over.

@return void