Re: Implement special model layout

2009-02-15 Thread Malcolm Tredinnick
On Mon, 2009-02-16 at 02:03 +0100, Andrási László (g) wrote: > Hi, > > Sorry for my english. > I want to implement the following structure to all of my models. > I have two db tables for every model a primary and a modifications > ( for logging) > > Example: > CONTENT > id int(10) primary key

Implement special model layout

2009-02-15 Thread g
Hi, Sorry for my english. I want to implement the following structure to all of my models. I have two db tables for every model a primary and a modifications ( for logging) Example: CONTENT id int(10) primary key (autincrement) cre_date datetime mod_date datetime body longtext status enum('A','D'