Re: [sqlalchemy] Re: Versioning and multi-level inheritance

2011-08-31 Thread Michael Bayer
version is only on your Container table since it will always have a row corresponding to each Box row, so box.version is not necessary. You can change this by changing: if not super_history_mapper: cls.version = Column('version', Integer, default=1, nullable=False) to:

Re: [sqlalchemy] Re: Versioning and multi-level inheritance

2011-08-31 Thread JPLaverdure
Hi Michael, Thank you for your reply. Unfortunately, the mistake was all mine... At some point (and for an obscure reason...), I had stopped using the VersionedListener so changes were no longer registering in the DB :-/ So sorry ! JP -- You received this message because you are subscribed

Re: [sqlalchemy] Re: Versioning and multi-level inheritance

2011-08-31 Thread Jean-Philippe Laverdure
Hi Michael, Thank you for your reply. Unfortunately, the mistake was all mine... At some point (and for an obscure reason...), I had stopped using the VersionedListener so changes were no longer registering in the DB :-/ So sorry ! JP On Wed, Aug 31, 2011 at 12:23 PM, Michael Bayer