← Back to team overview

openupgrade-drivers team mailing list archive

Re: What is the rationale behind refusing to drop table and column upon module desinstall ?

 

On 17-03-14 15:45, Valentin LAB wrote:
Hi,

The subject has it all:

Some code is added by openupgrade that prevent dropping table or columns upon module uninstall...

What is the rationale behind refusing to drop table and column upon module desinstall ?



Risk of data loss and usefulness of deprecated structures to migration scripts of other modules. For example in 7.0, the res_partner_address may be useful in the migration of other modules after base module upgrade.

Have a look at https://code.launchpad.net/~therp-nl/openupgrade-tools/7.0-add-database_cleanup for database cleanup.

Cheers,
Stefan.



--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: stefan@xxxxxxxx
tel: +31 (0) 614478606
web: http://therp.nl



References