jcarreira wrote:
There are some good tools out there which will automatically modify your DB schema to add versioning / auditing and automatically add the triggers to all of the tables you specify. I don't have the names in front of me, but which you'll want is dependent on your database anyway. Some of them come with reporting and visualization tools, some don't.
Thanks... My database is PostgreSQL 8.1. I'm really looking for more of a design pattern that will work for me. I'm more concerned with making the domain model work well and persisting the "correct" implementation shouldn't be too big of a deal. I don't really want to use triggers for the type of "versioning" I'm talking about, but I'm interested in hearing anyones approach.
Thanks for the help!