[ZODB-Dev] Migrating classes in ZODB 3.5.1

Lennart Regebro regebro at gmail.com
Thu Nov 10 05:51:04 EST 2005


On 11/10/05, Syver Enstad <syver at inout.no> wrote:
> That sounds good. How do you recreate every object in the ZODB?

I didn't, only the ones that needed. I did that by traversing all
object containers and seeing if the object was of the right type, and
if it was, I deleted it and recreated it from the class and all the
old information.

This may or may not be complicated, depending on your objects.
--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the ZODB-Dev mailing list