[Zope-dev] Re: [ZODB-Dev] Schema migration, rename class

Dieter Maurer dieter at handshake.de
Thu Apr 1 14:32:56 EST 2004


Syver Enstad wrote at 2004-4-1 10:36 +0200:
> ...
>I am not really interested in changing the class. I am interested in
>renaming it. Are there any resources on schema evolution/migration
>with ZODB, I have googled quite a bit but so far haven't come up with
>anything other than the link above which only seems to work with
>pickles.

Evolution is not that difficult -- unlike moving/renaming
of modules/classes.

I use the "__module_aliases__" feature (examples e.g. in
"Products.PythonsScripts.__init__") to support
module moving/renaming. When I need to move a class,
I let a proxy at the original place.

-- 
Dieter



More information about the Zope-Dev mailing list