This is the weirdest thing...
Taken straight from the source of the file:
PHP Code:
if (verify_field_exists('editing', 'rpg_lottery'))
{
$DB_site->query("ALTER TABLE `" . TABLE_PREFIX . "rpg_lottery` DROP `editing` ");
}
Which reads that if the field "editing" exists, drop it.
Tell you what: Remove the entire section I just posted from the file /install/upgrade4.php, then run /admincp/rpg_install.php?step=upgrade&part=queries&all=yes to skip right past any other errors and resume the upgrade. I believe running it from there should work fine