View file sys/db_tables/frends.sql
CREATE TABLE IF NOT EXISTS `frends` ( `user` int(11) NOT NULL, `frend` int(11) NOT NULL, `time` int(11) NOT NULL, `i` int(1) default '0', PRIMARY KEY (`user`,`frend`), KEY `time` (`time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `frends_new` ( `id` int(11) NOT NULL auto_increment, `user` int(11) NOT NULL, `to` int(11) NOT NULL, `time` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `time` (`time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;