How to log changes of ActiveRecords?

Comparing #10 with #11

Revision #11 was created by camac camac on Oct 20, 2011, 12:25:24 AM.

Primary Key was wrong changed "PRIMARY KEY(idActiveRecordLog)" to "PRIMARY KEY(id)"

Content

[...]
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;

The next step would be to create the corresponding Model using the YII Shell Tool:
[...]