Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `user_engagements` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `user_id` int(11) NOT NULL,
- `member_id` int(11) NOT NULL,
- `action_type` smallint(6) NOT NULL,
- `created_at` datetime DEFAULT NULL,
- `updated_at` datetime DEFAULT NULL,
- PRIMARY KEY (`id`,`user_id`),
- KEY `member_index` (`member_id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1
- /*!50100 PARTITION BY HASH (user_id)
- PARTITIONS 1000 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement