Difference between #9 and #12 of
How to log changes of ActiveRecords?

Changes

Title unchanged

How to log changes of ActiveRecords?

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Logging

Content changed

[...]
model VARCHAR(45) NULL,
idModel INTEGER UNSIGNED NULL,
field VARCHAR(45) NULL,
creationdate TIMESTAMP NOT NULL,
userid VARCHAR(45) NULL,
PRIMARY KEY(id
ActiveRecordLog)
)
TYPE=InnoDB;
[...]
+ savethe attributeLabels instead of the field names
+ make description customizable
+ and so on...

 
 
 
31 1
47 followers
Viewed: 72 786 times
Version: 1.1
Category: Tutorials
Tags: Logging
Written by: pfth
Last updated by: Yang He
Created on: Feb 13, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history