-- -- Table structure for table `search` -- DROP TABLE IF EXISTS `search`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `search` ( `id` bigint(20) unsigned NOT NULL, `weight` int(11) NOT NULL, `query` varchar(3072) NOT NULL, `group_id` int(11) DEFAULT NULL, KEY `query` (`query`(768)) ) ENGINE=SPHINX DEFAULT CHARSET=utf8mb4 CONNECTION='sphinx://127.0.0.1:3312/messages'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `sphinx` -- DROP TABLE IF EXISTS `sphinx`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sphinx` ( `counter_id` tinyint(3) unsigned NOT NULL, `max_id` int(10) unsigned NOT NULL, PRIMARY KEY (`counter_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */;