Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `interactions` (
- `user_id_to` bigint(11) unsigned NOT NULL,
- `user_id_from` bigint(11) unsigned NOT NULL,
- `type2counter` tinyint(11) unsigned NOT NULL DEFAULT '0',
- `globalCounter` smallint(11) unsigned NOT NULL,
- `updated` date NOT NULL,
- PRIMARY KEY (`user_id_to`,`user_id_from`),
- KEY `uid_from` (`user_id_from`),
- KEY `uid_to_counter` (`user_id_to`,`counter`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement