/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
--/*!40101 SET NAMES utf8 */;
++/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
DROP TABLE IF EXISTS `addon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `addon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`timestamp` bigint(20) NOT NULL DEFAULT '0',
`plugin_admin` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `attach`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `attach` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`deny_cid` mediumtext NOT NULL,
`deny_gid` mediumtext NOT NULL,
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `auth_codes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_codes` (
`id` varchar(40) NOT NULL,
`client_id` varchar(20) NOT NULL DEFAULT '',
`expires` int(11) NOT NULL DEFAULT '0',
`scope` varchar(250) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `cache`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `cache` (
`k` varchar(255) NOT NULL,
`v` text NOT NULL,
`updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`k`),
KEY `updated` (`updated`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `challenge`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `challenge` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`challenge` varchar(255) NOT NULL DEFAULT '',
`type` varchar(255) NOT NULL DEFAULT '',
`last_update` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `clients`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `clients` (
`client_id` varchar(20) NOT NULL,
`pw` varchar(20) NOT NULL DEFAULT '',
`icon` text,
`uid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`client_id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `config` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`cat` varchar(255) NOT NULL DEFAULT '',
`v` text NOT NULL,
PRIMARY KEY (`id`),
KEY `cat_k` (`cat`(30),`k`(30))
--) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`ffi_keyword_blacklist` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `conv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `conv` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` varchar(64) NOT NULL DEFAULT '',
`subject` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `deliverq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `deliverq` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`cmd` varchar(32) NOT NULL DEFAULT '',
`item` int(11) NOT NULL DEFAULT '0',
`contact` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `dsprphotoq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `dsprphotoq` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`msg` mediumtext NOT NULL,
`attempt` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `event`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`deny_gid` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `fcontact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fcontact` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`url` varchar(255) NOT NULL DEFAULT '',
`updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `addr` (`addr`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `ffinder`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ffinder` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`cid` int(10) unsigned NOT NULL DEFAULT '0',
`fid` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `fserver`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fserver` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`server` varchar(255) NOT NULL DEFAULT '',
`key` text NOT NULL,
PRIMARY KEY (`id`),
KEY `server` (`server`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `fsuggest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fsuggest` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`note` text NOT NULL,
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `gcign`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gcign` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uid` (`uid`),
KEY `gcid` (`gcid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `gcontact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gcontact` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`network` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `nurl` (`nurl`)
--) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `glink`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `glink` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL DEFAULT '0',
KEY `cid_uid_gcid_zcid` (`cid`,`uid`,`gcid`,`zcid`),
KEY `gcid` (`gcid`),
KEY `zcid` (`zcid`)
--) ENGINE=InnoDB AUTO_INCREMENT=189 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=189 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `group` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `group_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `group_member` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`contact-id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uid_gid_contactid` (`uid`,`gid`,`contact-id`)
--) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `guid`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guid` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `guid` (`guid`)
--) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `hook`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hook` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`hook` varchar(255) NOT NULL DEFAULT '',
`priority` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `hook_file_function` (`hook`(30),`file`(60),`function`(30))
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `intro`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `intro` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`blocked` tinyint(1) NOT NULL DEFAULT '1',
`ignore` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` varchar(255) NOT NULL DEFAULT '',
KEY `uid_eventid` (`uid`,`event-id`),
KEY `uid_authorlink` (`uid`,`author-link`),
KEY `uid_ownerlink` (`uid`,`owner-link`)
--) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `item_id`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_id` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iid` int(11) NOT NULL DEFAULT '0',
KEY `sid` (`sid`),
KEY `service` (`service`),
KEY `iid` (`iid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `locks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `locks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL DEFAULT '',
`locked` tinyint(1) NOT NULL DEFAULT '0',
`created` datetime DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `mail` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
KEY `reply` (`reply`),
KEY `uri` (`uri`),
KEY `parent-uri` (`parent-uri`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `mailacct`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `mailacct` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`pubmail` tinyint(1) NOT NULL DEFAULT '0',
`last_check` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `manage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `manage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`mid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uid_mid` (`uid`,`mid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `notify`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `notify` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`hash` varchar(64) NOT NULL DEFAULT '',
`otype` varchar(16) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `notify-threads`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `notify-threads` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`notify-id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `master-parent-item` (`master-parent-item`),
KEY `receiver-uid` (`receiver-uid`)
--) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `pconfig`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pconfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`v` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `uid_cat_k` (`uid`,`cat`(30),`k`(30))
--) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `photo`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `photo` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
KEY `uid` (`uid`),
KEY `resource-id` (`resource-id`),
KEY `guid` (`guid`)
--) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `poll`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poll` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`q9` mediumtext NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `poll_result`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poll_result` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`poll_id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `poll_id` (`poll_id`),
KEY `choice` (`choice`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `profile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `profile` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`net-publish` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `hometown` (`hometown`)
--) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `profile_check`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `profile_check` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`sec` varchar(255) NOT NULL DEFAULT '',
`expire` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `push_subscriber`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `push_subscriber` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`last_update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`secret` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `queue` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL DEFAULT '0',
KEY `last` (`last`),
KEY `network` (`network`),
KEY `batch` (`batch`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `register`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `register` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(255) NOT NULL DEFAULT '',
`password` varchar(255) NOT NULL DEFAULT '',
`language` varchar(16) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `search`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `search` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `uid` (`uid`),
KEY `term` (`term`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `session` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`sid` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `sid` (`sid`),
KEY `expire` (`expire`)
--) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `sign`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sign` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`iid` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `iid` (`iid`),
KEY `retract_iid` (`retract_iid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `spam`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `spam` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
KEY `spam` (`spam`),
KEY `ham` (`ham`),
KEY `term` (`term`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `term`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `term` (
`tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`oid` int(10) unsigned NOT NULL DEFAULT '0',
KEY `type_term` (`type`,`term`),
KEY `uid_otype_type_term_tid` (`uid`,`otype`,`type`,`term`,`tid`),
KEY `otype_type_term_tid` (`otype`,`type`,`term`,`tid`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `thread`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `thread` (
`iid` int(10) unsigned NOT NULL DEFAULT '0',
`uid` int(10) unsigned NOT NULL DEFAULT '0',
KEY `wall_private_received` (`wall`,`private`,`received`),
KEY `uid_created` (`uid`,`created`),
KEY `uid_commented` (`uid`,`commented`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `tokens`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tokens` (
`id` varchar(40) NOT NULL,
`secret` text NOT NULL,
`scope` varchar(200) NOT NULL DEFAULT '',
`uid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `user` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`guid` varchar(64) NOT NULL DEFAULT '',
`openidserver` text NOT NULL,
PRIMARY KEY (`uid`),
KEY `nickname` (`nickname`)
--) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
DROP TABLE IF EXISTS `userd`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
--/*!40101 SET character_set_client = utf8 */;
++/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `userd` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `username` (`username`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
++) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--