Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Removal of migration scripts on each new version
Re: Removal of migration scripts on each new version
Re: Removal of migration scripts on each new version
by
Opener B.V., Stefan Rijnhart
On 06-05-2025 14:17, Juan José Scarafía wrote: > I agree, keeping the migration scripts probably doesn't mean you can > just skip versions and expect them to run flawlessly, but in a lot of > cases, it does seem to work out just fine. Well, they should run flawlessly otherwise it will break everyone's migration. The scripts that we keep should be idempotent and not be invalidated by subsequent data model changes. So special care should be taken when reviewing PRs that contain older scripts. > On the other hand, I'm not really seeing any downside to leaving them > there. If you *are* updating version by version, those older scripts > just won't run anyway, right? That is correct, if you migrate from 17 to 18, any 16.0.x.x.x migration script will not be triggered. -- Opener B.V. - Business solutions driven by open source collaboration Stefan Rijnhart - Consultant/developer mail: stefan@opener.amsterdam tel: +31 (0) 6 1447 8606 web: https://opener.amsterdam
Reference
-
Removal of migration scripts on each new version
byOpener B.V., Stefan Rijnhart-
Re: Removal of migration scripts on each new version
byComunitea, Javier Colmenero Fernández -
Re: Removal of migration scripts on each new version
by "Richard deMeester" <richard.demeester@willdooit.com> - 07/05/2025 15:49:29 - 12 -
Re: Removal of migration scripts on each new version
byOpener B.V., Stefan Rijnhart -
Re: Removal of migration scripts on each new version
byDIXMIT Consulting SLU, Enric Tobella Alomar -
Re: Removal of migration scripts on each new version
byCamptocamp France SAS, Sébastien Alix -
Re: Removal of migration scripts on each new version
byAcsone SA/NV, Stéphane Bidoul -
Re: Removal of migration scripts on each new version
bySygel Technology S.L., Valentín Vinagre -
Re: Removal of migration scripts on each new version
byAkretion France., Raphaël Reverdy -
Re: Removal of migration scripts on each new version
byTherp, Tom Blauwendraat -
Re: Removal of migration scripts on each new version
byMoaHub, Graeme Gellatly
-