Update app/code/core/Mage/Sales/Model/Resource/Setup.php

Add support for deleting attributes using Mage_Sales_Model_Resource_Setup
$installer->startSetup();
$installer->removeAttribute('quote', 'my_attribute');
$installer->removeAttribute('order', 'my_attribute');
$installer->endSetup();
Current error "Wrong entity ID"