Created
February 10, 2011 03:13
-
-
Save avwave/819856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE `tbl_activityfeed` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `activitytype` varchar(10) DEFAULT NULL, | |
| `userid` int(11) DEFAULT NULL, | |
| `commentpageid` int(11) DEFAULT NULL, | |
| `goal_id` int(11) DEFAULT NULL, | |
| `activity_date` timestamp NULL DEFAULT NULL, | |
| PRIMARY KEY (`id`) | |
| ) | |
| activity_types: | |
| USERREG show "username lit up his life!" (uses userid for profile link) | |
| COMMENT show "username has commented on commentpage" (uses commentpageid for comment link) | |
| ADDTODO show "username added goal" (uses goal_id for pagelink) | |
| AWARD show "username completed goal" (uses goal_id for pagelink) | |
| activity_date should show fuzzy time between system time and time log was created |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment