Comment 17 for bug 1023615

Revision history for this message
nrumprecht (n-rumprecht) wrote :

> I think that many bug fixes or enhancements to modules would not be released correctly, because adding new records to modules that are already installed would be ignored.

Shouldn't this be done by the MigrationManager Object?
Module Version 1.0 has only one Country
Module Version 1.1 has all Countrys
<moduledir>
-- migrations
     |-- 1.1
     | |-- pre-update_all_countries.py

So if you upgrade from 1.0 > 1.1 the new records will be added, if you init a module in version 1.1 all countries will be added by the updated data.xml.