Okay...great!  That works well.

Now the next step....I have a bunch of existing tables with data in them to which I want to add versioning.  I was sort of hoping that the version tables would just spring magically into existence but obviously they don't.  How do I create them?  Hopefully there is some function I can call somewhere or some program I can run?

I looked through the source code and found a createVersionTable that looks like it might be helpful.  But I'm not sure how to call it, and I'm especially not sure what to pass into it.


On Fri, Mar 28, 2008 at 8:11 AM, Oleg Broytmann <phd@phd.pp.ru> wrote:
On Fri, Mar 28, 2008 at 03:55:15AM -0300, Sam's Lists wrote:
> But I get --- NameError: name 'Versioning' is not defined

from sqlobject.versioning import Versioning

    Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
          Programmers don't die, they just GOSUB without RETURN.

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
sqlobject-discuss mailing list