your strategy sounds resonable...You will also need to add a userID field to know which user performed the action.
You could also expand on your activity table to get more granular:
ACTIVITY:
ID
UserID
TimeStamp
Action
Affected
then values would be inserted: ('HamHock','0000-00-00 xx:xx:xx','update','profile_pic')
The reason ID is different from UserID is incase you wanted to show multiple profile updates within a time frame, rather than just showing the last update from the user...this would allow you to say "HamHock updated their pic and email address..."
Last edited by hastx; 10-02-2012 at 09:00 AM.
Reason: added explanation
We do precision guesswork
Bookmarks