Difference between #8 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 changed

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: 74 191 times
Version: 1.1
Category: Tutorials
Tags: Logging
Written by: pfth
Last updated by: Yang He
Created on: Feb 13, 2009
Last updated: 12 years ago
Update Article

Revisions

View all history