[sqlalchemy] Re: Defining common columns for a group of tables

2008-05-10 Thread Lele Gaifax
On Sat, 10 May 2008 14:06:12 +0530 Sandesh Singh [EMAIL PROTECTED] wrote: It would be best if the auditing columns could be defined in one place, and then added to all the tables individually. I believe the solution may have more to do with Python than with SQLAlchemy itself. This is my

[sqlalchemy] Re: Defining common columns for a group of tables

2008-05-10 Thread Michael Bayer
On May 10, 2008, at 10:01 AM, Lele Gaifax wrote: I have another little issue with that: I'd like to be able to say that those fields behave like a readonly and database-generated value (they are effectively overwritten by a database trigger, at insert/update time), possibly without