Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2182 lines
847 KiB

  1. -- MySQL dump 10.13 Distrib 5.7.24, for Linux (x86_64)
  2. --
  3. -- Host: localhost Database: friendica
  4. -- ------------------------------------------------------
  5. -- Server version 5.7.24-0ubuntu0.16.04.1
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `addon`
  18. --
  19. DROP TABLE IF EXISTS `addon`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `addon` (
  23. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  24. `name` varchar(50) NOT NULL DEFAULT '' COMMENT 'addon base (file)name',
  25. `version` varchar(50) NOT NULL DEFAULT '' COMMENT 'currently unused',
  26. `installed` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'currently always 1',
  27. `hidden` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'currently unused',
  28. `timestamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'file timestamp to check for reloads',
  29. `plugin_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 = has admin config, 0 = has no admin config',
  30. PRIMARY KEY (`id`),
  31. UNIQUE KEY `name` (`name`)
  32. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='registered addons';
  33. /*!40101 SET character_set_client = @saved_cs_client */;
  34. --
  35. -- Dumping data for table `addon`
  36. --
  37. LOCK TABLES `addon` WRITE;
  38. /*!40000 ALTER TABLE `addon` DISABLE KEYS */;
  39. /*!40000 ALTER TABLE `addon` ENABLE KEYS */;
  40. UNLOCK TABLES;
  41. --
  42. -- Table structure for table `apcontact`
  43. --
  44. DROP TABLE IF EXISTS `apcontact`;
  45. /*!40101 SET @saved_cs_client = @@character_set_client */;
  46. /*!40101 SET character_set_client = utf8 */;
  47. CREATE TABLE `apcontact` (
  48. `url` varbinary(255) NOT NULL COMMENT 'URL of the contact',
  49. `uuid` varchar(255) DEFAULT NULL,
  50. `type` varchar(20) NOT NULL,
  51. `following` varchar(255) DEFAULT NULL,
  52. `followers` varchar(255) DEFAULT NULL,
  53. `inbox` varchar(255) NOT NULL,
  54. `outbox` varchar(255) DEFAULT NULL,
  55. `sharedinbox` varchar(255) DEFAULT NULL,
  56. `nick` varchar(255) NOT NULL DEFAULT '',
  57. `name` varchar(255) DEFAULT NULL,
  58. `about` text,
  59. `photo` varchar(255) DEFAULT NULL,
  60. `addr` varchar(255) DEFAULT NULL,
  61. `alias` varchar(255) DEFAULT NULL,
  62. `pubkey` text,
  63. `baseurl` varchar(255) DEFAULT NULL COMMENT 'baseurl of the ap contact',
  64. `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  65. PRIMARY KEY (`url`),
  66. KEY `addr` (`addr`(32)),
  67. KEY `alias` (`alias`(190)),
  68. KEY `url` (`followers`(190))
  69. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='ActivityPub compatible contacts - used in the ActivityPub implementation';
  70. /*!40101 SET character_set_client = @saved_cs_client */;
  71. --
  72. -- Dumping data for table `apcontact`
  73. --
  74. LOCK TABLES `apcontact` WRITE;
  75. /*!40000 ALTER TABLE `apcontact` DISABLE KEYS */;
  76. INSERT INTO `apcontact` VALUES (_binary 'http://192.168.22.10/profile/admin','930bb26b-675b-f00a-1f35-2cc901636033','Person','http://192.168.22.10/following/admin','http://192.168.22.10/followers/admin','http://192.168.22.10/inbox/admin','http://192.168.22.10/outbox/admin','http://192.168.22.10/inbox','admin','admin','','http://192.168.22.10/photo/profile/1.jpg',NULL,NULL,'-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyYmalhhmPJg0qwLjbeoL\nKgykA6idu8HtZkKWPpXZHHD9J0InLId7Ht3G9dSBIBbHpWhaoFHkI06PRaqiT3sY\n4yXPBWDuhnIzzbV5VbxXShzRCe0LzBMhvusf/74sQkqH64g7xsaSBipHHaUEa7yD\nv+xCoGtoSOcqGEBzesSH//sIl94IrkkN+/grb1ZSFFjQYWMLMWMD7Py/awcqOtCB\nJ6NnmcBVMK5CxyV+YN+C+dhUsf+LjvH7WE0uigvTlMG+lGfXHxl4/en8bcAQ/GEr\n1xfbDJuknxr+ckGFZeHtj6Noz1IRD7y+7rlTgbZTmOrCJKg38Br2m3tMGGhIU3t7\nSmrKn8qqf9HuyR83+7Cu+t8x24LuhTjGW2Z6KE5TqYacMu+to58MFH8lDOnoOxHA\nGWpi9kYPXSbO9mLwDNF3pue3bLusvGQnns9h38w8m1Q25nivKKvgVbOrdNaB6wUy\nFIDcqjlZOVIyZ24QWZck77Em/cCkEf1c9kV4f1VjwmyQ4apSPf6q92AHcBlbv7yI\nFhVbGMhEaMIT7PQgxi2F48YInnlNjQlk3yHv3sdjlYJvcHHlf2PsMXlRb1CzrFRf\nX6Uv7e1obwy+SsywkAq+sT4tfsPEw2mIL56cXw0licP2hjOIgzYD1xi8pZx3xsQP\nTjdpqBmCKfnzs+TCZIbXIQ8CAwEAAQ==\n-----END PUBLIC KEY-----',NULL,'2018-11-17 12:34:45'),(_binary 'http://192.168.22.10/profile/friendica1','930bb26b-585b-f00c-1225-b79618332648','Person','http://192.168.22.10/following/friendica1','http://192.168.22.10/followers/friendica1','http://192.168.22.10/inbox/friendica1','http://192.168.22.10/outbox/friendica1','http://192.168.22.10/inbox','friendica1','friendica1','','http://192.168.22.10/photo/profile/2.jpg',NULL,NULL,'-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAmQR1Wmtv2KMZ5f5NTJMf\nRfX+1KXfhCKZaDgtL8/Trtb1ZXLq0tlBVhm29MI1F6cxZFhNlFyW6GZCeZFKX3FP\n2pFw03sEBTo5PCLso18EEl9kXV9cXoBMzINI3jIGnJiawq9PfIw5142jFBLOxiDS\nc/iNG6iFbq2qHwiQJjtp61BCFivIMZaHXqvtroakggjBH3EbRx+rZfeqjB8MRqOc\npXIqjc0lrHk8QGdXeuUAWsL2qUqHVNekLBXPnRcdMT8BxUmtBj0ccZ1IICLPFEzK\nr6DtqH5kE+aq9IcoMIEDjUhnyOAvFda8TlxX8D5SMFbrfJZDTypDqXHnSxHUS0Rd\nX06tLJZxMgqHspkxp6nzxk7JGPHKQmU6N0uqQb+i7dFlgC8QRLi79a1x019dvpAN\nRwbhGnn/pEU9Kn1JbYTAI6irBnHnlAUkpxmwSzRx5ncbNbhbniMD2/39IV1mztUh\nAyc262/cRRJAu8pEsPvc/pSijIyfrxJGYqF/uUcS5gbrY+wCjpYaBdzFxQEcD1Aq\nvXQGxi3sMRY9b1FJ+f3UTB7D9kIBCbwUNOXCjDCrOKZN6nxPLpKnfFsneHleUHa0\n+MRzI/vX78jQ1P4KgxPIiSktfrZitBpyzCC5O4ytiwqF2E8Ei0zE6OL2gm8yv7tB\n00ewnSBHzIpdnS51XuxxmIsCAwEAAQ==\n-----END PUBLIC KEY-----',NULL,'2018-11-17 12:50:07'),(_binary 'http://192.168.22.10/profile/friendica2','930bb26b-155b-f00c-272b-7ee871449332','Person','http://192.168.22.10/following/friendica2','http://192.168.22.10/followers/friendica2','http://192.168.22.10/inbox/friendica2','http://192.168.22.10/outbox/friendica2','http://192.168.22.10/inbox','friendica2','friendica2','','http://192.168.22.10/photo/profile/3.jpg',NULL,NULL,'-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwMWwwjqXtfQmCzLQmZ+D\ntRVdtv1Vq6DdjC/+aEP3UKLpp0nzNcsfT3U8Kejs23o0KpC+EVFXuWZqvxyeHoiZ\n+w9i1roJf2eSLBVeAjiEmLbI7wSfLBu+iA1x+X6+d9wxxAgzM7KHIBOghVCDussz\n4AaojP4Dx3Egsl1w+1j/ULUNCvf1wq9KLMMgJlnemC4cHfv+ObcxdisPezjVD9sg\nnvRLKyv6i8gm8csDwaHtHP6VNxc0JnauU6GIxBrDmlnpKYGb3rl3WLSvuiyzJYrr\nzKESnFINFKRLCG3m548OK+reRBDmgYbsZFJ57FS6YTa63268IwwtlRbRs8n8N7Mi\nO0jAXhRyZKRim6lkykIUjwlmIKfS2xl38k1kg5VLfPwZYAhiG6+JMcBlyj7hKU+4\nN9FKKfLlxtRz/g2kh81eHWEOXblEohpR/GbAhMF8h/tkHM+ze2TAbyEK1A+UWlWZ\n3olMRdt/awlAd657XqGVukYUg++GdEGkVyeWcCV3CwscbhiFAqpV/TWh6yARultJ\nvij/UQWi27yFY1v4EAactGL/V+zrmQSduKGd7jpHJe2XVS4DGuw+ThiDQc8gamlG\ndmZcPkVxChFqGpxGKXOr8uFWbYUG4Cj3iA4iV8XOlGUIN8uFtbWX/VyVHGNGDmGg\n60osshOegUJTNz8OBkZspvsCAwEAAQ==\n-----END PUBLIC KEY-----',NULL,'2018-11-17 12:50:07'),(_binary 'http://192.168.22.10/profile/friendica3','930bb26b-425b-f00c-3ce7-94f334620775','Person','http://192.168.22.10/following/friendica3','http://192.168.22.10/followers/friendica3','http://192.168.22.10/inbox/friendica3','http://192.168.22.10/outbox/friendica3','http://192.168.22.10/inbox','friendica3','friendica3','','http://192.168.22.10/photo/profile/4.jpg',NULL,NULL,'-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFA
  77. /*!40000 ALTER TABLE `apcontact` ENABLE KEYS */;
  78. UNLOCK TABLES;
  79. --
  80. -- Table structure for table `attach`
  81. --
  82. DROP TABLE IF EXISTS `attach`;
  83. /*!40101 SET @saved_cs_client = @@character_set_client */;
  84. /*!40101 SET character_set_client = utf8 */;
  85. CREATE TABLE `attach` (
  86. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'generated index',
  87. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  88. `hash` varchar(64) NOT NULL DEFAULT '' COMMENT 'hash',
  89. `filename` varchar(255) NOT NULL DEFAULT '' COMMENT 'filename of original',
  90. `filetype` varchar(64) NOT NULL DEFAULT '' COMMENT 'mimetype',
  91. `filesize` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'size in bytes',
  92. `data` longblob NOT NULL COMMENT 'file data',
  93. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'creation time',
  94. `edited` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'last edit time',
  95. `allow_cid` mediumtext COMMENT 'Access Control - list of allowed contact.id ''<19><78>',
  96. `allow_gid` mediumtext COMMENT 'Access Control - list of allowed groups',
  97. `deny_cid` mediumtext COMMENT 'Access Control - list of denied contact.id',
  98. `deny_gid` mediumtext COMMENT 'Access Control - list of denied groups',
  99. PRIMARY KEY (`id`)
  100. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='file attachments';
  101. /*!40101 SET character_set_client = @saved_cs_client */;
  102. --
  103. -- Dumping data for table `attach`
  104. --
  105. LOCK TABLES `attach` WRITE;
  106. /*!40000 ALTER TABLE `attach` DISABLE KEYS */;
  107. /*!40000 ALTER TABLE `attach` ENABLE KEYS */;
  108. UNLOCK TABLES;
  109. --
  110. -- Table structure for table `auth_codes`
  111. --
  112. DROP TABLE IF EXISTS `auth_codes`;
  113. /*!40101 SET @saved_cs_client = @@character_set_client */;
  114. /*!40101 SET character_set_client = utf8 */;
  115. CREATE TABLE `auth_codes` (
  116. `id` varchar(40) NOT NULL,
  117. `client_id` varchar(20) NOT NULL DEFAULT '',
  118. `redirect_uri` varchar(200) NOT NULL DEFAULT '',
  119. `expires` int(11) NOT NULL DEFAULT '0',
  120. `scope` varchar(250) NOT NULL DEFAULT '',
  121. PRIMARY KEY (`id`)
  122. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='OAuth usage';
  123. /*!40101 SET character_set_client = @saved_cs_client */;
  124. --
  125. -- Dumping data for table `auth_codes`
  126. --
  127. LOCK TABLES `auth_codes` WRITE;
  128. /*!40000 ALTER TABLE `auth_codes` DISABLE KEYS */;
  129. /*!40000 ALTER TABLE `auth_codes` ENABLE KEYS */;
  130. UNLOCK TABLES;
  131. --
  132. -- Table structure for table `cache`
  133. --
  134. DROP TABLE IF EXISTS `cache`;
  135. /*!40101 SET @saved_cs_client = @@character_set_client */;
  136. /*!40101 SET character_set_client = utf8 */;
  137. CREATE TABLE `cache` (
  138. `k` varbinary(255) NOT NULL COMMENT 'cache key',
  139. `v` mediumtext COMMENT 'cached serialized value',
  140. `expires` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of cache expiration',
  141. `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of cache insertion',
  142. PRIMARY KEY (`k`),
  143. KEY `k_expires` (`k`,`expires`)
  144. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores temporary data';
  145. /*!40101 SET character_set_client = @saved_cs_client */;
  146. --
  147. -- Dumping data for table `cache`
  148. --
  149. LOCK TABLES `cache` WRITE;
  150. /*!40000 ALTER TABLE `cache` DISABLE KEYS */;
  151. INSERT INTO `cache` VALUES (_binary 'Probe::uri::friendica1@192.168.22.10','a:21:{s:4:\"name\";s:10:\"friendica1\";s:4:\"nick\";s:10:\"friendica1\";s:4:\"guid\";s:36:\"930bb26b-585b-f00c-1225-b79618332648\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica1\";s:4:\"addr\";s:24:\"friendica1@192.168.22.10\";s:5:\"alias\";s:32:\"http://192.168.22.10/~friendica1\";s:5:\"photo\";s:79:\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\";s:9:\"community\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:8:\"location\";s:0:\"\";s:5:\"about\";s:0:\"\";s:5:\"batch\";s:0:\"\";s:6:\"notify\";s:43:\"http://192.168.22.10/dfrn_notify/friendica1\";s:4:\"poll\";s:41:\"http://192.168.22.10/dfrn_poll/friendica1\";s:7:\"request\";s:44:\"http://192.168.22.10/dfrn_request/friendica1\";s:7:\"confirm\";s:44:\"http://192.168.22.10/dfrn_confirm/friendica1\";s:4:\"poco\";s:36:\"http://192.168.22.10/poco/friendica1\";s:8:\"priority\";i:0;s:7:\"network\";s:4:\"dfrn\";s:6:\"pubkey\";s:800:\"-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAmQR1Wmtv2KMZ5f5NTJMf\nRfX+1KXfhCKZaDgtL8/Trtb1ZXLq0tlBVhm29MI1F6cxZFhNlFyW6GZCeZFKX3FP\n2pFw03sEBTo5PCLso18EEl9kXV9cXoBMzINI3jIGnJiawq9PfIw5142jFBLOxiDS\nc/iNG6iFbq2qHwiQJjtp61BCFivIMZaHXqvtroakggjBH3EbRx+rZfeqjB8MRqOc\npXIqjc0lrHk8QGdXeuUAWsL2qUqHVNekLBXPnRcdMT8BxUmtBj0ccZ1IICLPFEzK\nr6DtqH5kE+aq9IcoMIEDjUhnyOAvFda8TlxX8D5SMFbrfJZDTypDqXHnSxHUS0Rd\nX06tLJZxMgqHspkxp6nzxk7JGPHKQmU6N0uqQb+i7dFlgC8QRLi79a1x019dvpAN\nRwbhGnn/pEU9Kn1JbYTAI6irBnHnlAUkpxmwSzRx5ncbNbhbniMD2/39IV1mztUh\nAyc262/cRRJAu8pEsPvc/pSijIyfrxJGYqF/uUcS5gbrY+wCjpYaBdzFxQEcD1Aq\nvXQGxi3sMRY9b1FJ+f3UTB7D9kIBCbwUNOXCjDCrOKZN6nxPLpKnfFsneHleUHa0\n+MRzI/vX78jQ1P4KgxPIiSktfrZitBpyzCC5O4ytiwqF2E8Ei0zE6OL2gm8yv7tB\n00ewnSBHzIpdnS51XuxxmIsCAwEAAQ==\n-----END PUBLIC KEY-----\n\";s:7:\"baseurl\";s:20:\"http://192.168.22.10\";}','2018-11-18 13:41:24','2018-11-17 13:41:24'),(_binary 'Probe::uri::friendica2@192.168.22.10','a:21:{s:4:\"name\";s:10:\"friendica2\";s:4:\"nick\";s:10:\"friendica2\";s:4:\"guid\";s:36:\"930bb26b-155b-f00c-272b-7ee871449332\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica2\";s:4:\"addr\";s:24:\"friendica2@192.168.22.10\";s:5:\"alias\";s:32:\"http://192.168.22.10/~friendica2\";s:5:\"photo\";s:79:\"http://192.168.22.10/photo/15820583805bf00e7fd7909940374120-4.jpg?ts=1542459007\";s:9:\"community\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:8:\"location\";s:0:\"\";s:5:\"about\";s:0:\"\";s:5:\"batch\";s:0:\"\";s:6:\"notify\";s:43:\"http://192.168.22.10/dfrn_notify/friendica2\";s:4:\"poll\";s:41:\"http://192.168.22.10/dfrn_poll/friendica2\";s:7:\"request\";s:44:\"http://192.168.22.10/dfrn_request/friendica2\";s:7:\"confirm\";s:44:\"http://192.168.22.10/dfrn_confirm/friendica2\";s:4:\"poco\";s:36:\"http://192.168.22.10/poco/friendica2\";s:8:\"priority\";i:0;s:7:\"network\";s:4:\"dfrn\";s:6:\"pubkey\";s:800:\"-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwMWwwjqXtfQmCzLQmZ+D\ntRVdtv1Vq6DdjC/+aEP3UKLpp0nzNcsfT3U8Kejs23o0KpC+EVFXuWZqvxyeHoiZ\n+w9i1roJf2eSLBVeAjiEmLbI7wSfLBu+iA1x+X6+d9wxxAgzM7KHIBOghVCDussz\n4AaojP4Dx3Egsl1w+1j/ULUNCvf1wq9KLMMgJlnemC4cHfv+ObcxdisPezjVD9sg\nnvRLKyv6i8gm8csDwaHtHP6VNxc0JnauU6GIxBrDmlnpKYGb3rl3WLSvuiyzJYrr\nzKESnFINFKRLCG3m548OK+reRBDmgYbsZFJ57FS6YTa63268IwwtlRbRs8n8N7Mi\nO0jAXhRyZKRim6lkykIUjwlmIKfS2xl38k1kg5VLfPwZYAhiG6+JMcBlyj7hKU+4\nN9FKKfLlxtRz/g2kh81eHWEOXblEohpR/GbAhMF8h/tkHM+ze2TAbyEK1A+UWlWZ\n3olMRdt/awlAd657XqGVukYUg++GdEGkVyeWcCV3CwscbhiFAqpV/TWh6yARultJ\nvij/UQWi27yFY1v4EAactGL/V+zrmQSduKGd7jpHJe2XVS4DGuw+ThiDQc8gamlG\ndmZcPkVxChFqGpxGKXOr8uFWbYUG4Cj3iA4iV8XOlGUIN8uFtbWX/VyVHGNGDmGg\n60osshOegUJTNz8OBkZspvsCAwEAAQ==\n-----END PUBLIC KEY-----\n\";s:7:\"baseurl\";s:20:\"http://192.168.22.10\";}','2018-11-18 13:47:02','2018-11-17 13:47:02'),(_binary 'Probe::uri::friendica4@192.168.22.10','a:21:{s:4:\"name\";s:10:\"friendica4\";s:4:\"nick\";s:10:\"friendica4\";s:4:\"guid\";s:36:\"930bb26b-485b-f00c-9705-875375530301\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica4\";s:4:\"addr\";s:24:\"friendica4@192.168.22.10\";s:5:\"
  152. /*!40000 ALTER TABLE `cache` ENABLE KEYS */;
  153. UNLOCK TABLES;
  154. --
  155. -- Table structure for table `challenge`
  156. --
  157. DROP TABLE IF EXISTS `challenge`;
  158. /*!40101 SET @saved_cs_client = @@character_set_client */;
  159. /*!40101 SET character_set_client = utf8 */;
  160. CREATE TABLE `challenge` (
  161. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  162. `challenge` varchar(255) NOT NULL DEFAULT '',
  163. `dfrn-id` varchar(255) NOT NULL DEFAULT '',
  164. `expire` int(10) unsigned NOT NULL DEFAULT '0',
  165. `type` varchar(255) NOT NULL DEFAULT '',
  166. `last_update` varchar(255) NOT NULL DEFAULT '',
  167. PRIMARY KEY (`id`)
  168. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4;
  169. /*!40101 SET character_set_client = @saved_cs_client */;
  170. --
  171. -- Dumping data for table `challenge`
  172. --
  173. LOCK TABLES `challenge` WRITE;
  174. /*!40000 ALTER TABLE `challenge` DISABLE KEYS */;
  175. /*!40000 ALTER TABLE `challenge` ENABLE KEYS */;
  176. UNLOCK TABLES;
  177. --
  178. -- Table structure for table `clients`
  179. --
  180. DROP TABLE IF EXISTS `clients`;
  181. /*!40101 SET @saved_cs_client = @@character_set_client */;
  182. /*!40101 SET character_set_client = utf8 */;
  183. CREATE TABLE `clients` (
  184. `client_id` varchar(20) NOT NULL,
  185. `pw` varchar(20) NOT NULL DEFAULT '',
  186. `redirect_uri` varchar(200) NOT NULL DEFAULT '',
  187. `name` text,
  188. `icon` text,
  189. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
  190. PRIMARY KEY (`client_id`)
  191. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='OAuth usage';
  192. /*!40101 SET character_set_client = @saved_cs_client */;
  193. --
  194. -- Dumping data for table `clients`
  195. --
  196. LOCK TABLES `clients` WRITE;
  197. /*!40000 ALTER TABLE `clients` DISABLE KEYS */;
  198. /*!40000 ALTER TABLE `clients` ENABLE KEYS */;
  199. UNLOCK TABLES;
  200. --
  201. -- Table structure for table `config`
  202. --
  203. DROP TABLE IF EXISTS `config`;
  204. /*!40101 SET @saved_cs_client = @@character_set_client */;
  205. /*!40101 SET character_set_client = utf8 */;
  206. CREATE TABLE `config` (
  207. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  208. `cat` varbinary(50) NOT NULL DEFAULT '',
  209. `k` varbinary(50) NOT NULL DEFAULT '',
  210. `v` mediumtext,
  211. PRIMARY KEY (`id`),
  212. UNIQUE KEY `cat_k` (`cat`,`k`)
  213. ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COMMENT='main configuration storage';
  214. /*!40101 SET character_set_client = @saved_cs_client */;
  215. --
  216. -- Dumping data for table `config`
  217. --
  218. LOCK TABLES `config` WRITE;
  219. /*!40000 ALTER TABLE `config` DISABLE KEYS */;
  220. INSERT INTO `config` VALUES (1,_binary 'system',_binary 'build','1290'),(2,_binary 'system',_binary 'temppath','/tmp/'),(3,_binary 'database',_binary 'last_successful_update_function','update_1290'),(4,_binary 'database',_binary 'last_successful_update_function_time','1542457404'),(5,_binary 'system',_binary 'maintenance','0'),(6,_binary 'system',_binary 'maintenance_reason',''),(7,_binary 'system',_binary 'dbupdate','1'),(8,_binary 'database',_binary 'last_successful_update','1290'),(9,_binary 'database',_binary 'last_successful_update_time','1542457404'),(10,_binary 'system',_binary 'worker_last_cleaned','1542467401'),(11,_binary 'system',_binary 'url','http://192.168.22.10'),(12,_binary 'system',_binary 'itemcache','/tmp/itemcache'),(13,_binary 'system',_binary 'spoolpath','/tmp/spool'),(14,_binary 'system',_binary 'last_worker_execution','2018-11-17 15:10:01'),(15,_binary 'system',_binary 'last_expire_day','17'),(16,_binary 'system',_binary 'last_cron_hourly','1542466202'),(17,_binary 'system',_binary 'last_cron','1542466802'),(18,_binary 'system',_binary 'post_update_version','1281'),(19,_binary 'system',_binary 'cache_last_cleared','1542466204'),(20,_binary 'system',_binary 'disable_password_exposed','1'),(21,_binary 'system',_binary 'site_prvkey','-----BEGIN PRIVATE KEY-----\nMIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJIdBXCjtHBRpqM3\n7is5u6I39XM6Q0l5pOAVP5MsKhlU+wYqdBld9heVBlJqhWfYz509+Kgpcmn2e/HS\nz+8yCr77FtlzzUOve1ESi1q5ZW0LWZKwepoxs9RmHIBy1eWe4kB4/53dojUlxXJP\n6iNUKHK9DYDuh8JuWty4D+YmVvmzAgMBAAECgYBiLWXuXdFsdzDFE1vRZ6WQRpGC\nr29u+3GxsBVbyp0vEE7rwbLpKJ2nEteAoVqqgKBgQ7fFJrReRuTZhJF7Y+CblypX\n2px3tjLTVc7O2NuHlgrXFk+RJLXr8lg9jbzcU77wy0YTPZMqoFIVFFZQcjjJ+T4Q\n0Mh7K9jqIrGIOFPTgQJBAMIS8ZQoeP9hDQ17FyWpkEDJleY2RTVer42D2T5Pn7GI\nlOlRGqLZFzu6YXWynNa1HvfcxIlW/sR0YrDlEGwLJ2MCQQDAvGIQ9oPXdNR31NLe\nS22hIi1KZxOAa0cS8FH4BxA7F3a3ShC1CiIObl/O03u+ZBJYho2peqQ++rIkNo+h\nWD1xAkEAjkHikO6l2tSiA7qxeer0EXlyhoBLdNaGKl52VMV60mDCfs/zjWFCNYbm\nP6cAbiXvoFJUQjPhpdGGMhKGWhxG7wJBAKxuneoBMpkre/8tl+6rWwyjMBP1vhvR\nXogSG7OkViAX8O0wxVvDEg8JLowy5u3CSCuNTeZHw/RYg9IkQkIeWPECQCrDS23z\neTzUnhRcMRCtH9YrkAIcyQpRao5lD36Q7P0zr4sepU7790B4rqUl/UzL3sm6VOG7\nDDTBvTPpj1b+/bU=\n-----END PRIVATE KEY-----\n'),(22,_binary 'system',_binary 'site_pubkey','-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCSHQVwo7RwUaajN+4rObuiN/Vz\nOkNJeaTgFT+TLCoZVPsGKnQZXfYXlQZSaoVn2M+dPfioKXJp9nvx0s/vMgq++xbZ\nc81Dr3tREotauWVtC1mSsHqaMbPUZhyActXlnuJAeP+d3aI1JcVyT+ojVChyvQ2A\n7ofCblrcuA/mJlb5swIDAQAB\n-----END PUBLIC KEY-----\n'),(23,_binary 'system',_binary 'post_update_version_1279_id','0'),(24,_binary 'system',_binary 'post_update_version_1281_id','0');
  221. /*!40000 ALTER TABLE `config` ENABLE KEYS */;
  222. UNLOCK TABLES;
  223. --
  224. -- Table structure for table `contact`
  225. --
  226. DROP TABLE IF EXISTS `contact`;
  227. /*!40101 SET @saved_cs_client = @@character_set_client */;
  228. /*!40101 SET character_set_client = utf8 */;
  229. CREATE TABLE `contact` (
  230. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  231. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  232. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  233. `self` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 if the contact is the user him/her self',
  234. `remote_self` tinyint(1) NOT NULL DEFAULT '0',
  235. `rel` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'The kind of the relation between the user and the contact',
  236. `duplex` tinyint(1) NOT NULL DEFAULT '0',
  237. `network` char(4) NOT NULL DEFAULT '' COMMENT 'Network protocol of the contact',
  238. `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name that this contact is known by',
  239. `nick` varchar(255) NOT NULL DEFAULT '' COMMENT 'Nick- and user name of the contact',
  240. `location` varchar(255) NOT NULL DEFAULT '',
  241. `about` text,
  242. `keywords` text COMMENT 'public keywords (interests) of the contact',
  243. `gender` varchar(32) NOT NULL DEFAULT '',
  244. `xmpp` varchar(255) NOT NULL DEFAULT '',
  245. `attag` varchar(255) NOT NULL DEFAULT '',
  246. `avatar` varchar(255) NOT NULL DEFAULT '',
  247. `photo` varchar(255) DEFAULT '' COMMENT 'Link to the profile photo of the contact',
  248. `thumb` varchar(255) DEFAULT '' COMMENT 'Link to the profile photo (thumb size)',
  249. `micro` varchar(255) DEFAULT '' COMMENT 'Link to the profile photo (micro size)',
  250. `site-pubkey` text,
  251. `issued-id` varchar(255) NOT NULL DEFAULT '',
  252. `dfrn-id` varchar(255) NOT NULL DEFAULT '',
  253. `url` varchar(255) NOT NULL DEFAULT '',
  254. `nurl` varchar(255) NOT NULL DEFAULT '',
  255. `addr` varchar(255) NOT NULL DEFAULT '',
  256. `alias` varchar(255) NOT NULL DEFAULT '',
  257. `pubkey` text COMMENT 'RSA public key 4096 bit',
  258. `prvkey` text COMMENT 'RSA private key 4096 bit',
  259. `batch` varchar(255) NOT NULL DEFAULT '',
  260. `request` varchar(255) DEFAULT NULL,
  261. `notify` varchar(255) DEFAULT NULL,
  262. `poll` varchar(255) DEFAULT NULL,
  263. `confirm` varchar(255) DEFAULT NULL,
  264. `poco` varchar(255) DEFAULT NULL,
  265. `aes_allow` tinyint(1) NOT NULL DEFAULT '0',
  266. `ret-aes` tinyint(1) NOT NULL DEFAULT '0',
  267. `usehub` tinyint(1) NOT NULL DEFAULT '0',
  268. `subhub` tinyint(1) NOT NULL DEFAULT '0',
  269. `hub-verify` varchar(255) NOT NULL DEFAULT '',
  270. `last-update` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of the last try to update the contact info',
  271. `success_update` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of the last successful contact update',
  272. `failure_update` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of the last failed update',
  273. `name-date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  274. `uri-date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  275. `avatar-date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  276. `term-date` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  277. `last-item` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'date of the last post',
  278. `priority` tinyint(3) unsigned NOT NULL DEFAULT '0',
  279. `blocked` tinyint(1) NOT NULL DEFAULT '1',
  280. `readonly` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'posts of the contact are readonly',
  281. `writable` tinyint(1) NOT NULL DEFAULT '0',
  282. `forum` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'contact is a forum',
  283. `prv` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'contact is a private group',
  284. `contact-type` tinyint(4) NOT NULL DEFAULT '0',
  285. `hidden` tinyint(1) NOT NULL DEFAULT '0',
  286. `archive` tinyint(1) NOT NULL DEFAULT '0',
  287. `pending` tinyint(1) NOT NULL DEFAULT '1',
  288. `deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Contact has been deleted',
  289. `rating` tinyint(4) NOT NULL DEFAULT '0',
  290. `reason` text,
  291. `closeness` tinyint(3) unsigned NOT NULL DEFAULT '99',
  292. `info` mediumtext,
  293. `profile-id` int(10) unsigned NOT NULL DEFAULT '0',
  294. `bdyear` varchar(4) NOT NULL DEFAULT '',
  295. `bd` date NOT NULL DEFAULT '0001-01-01',
  296. `notify_new_posts` tinyint(1) NOT NULL DEFAULT '0',
  297. `fetch_further_information` tinyint(3) unsigned NOT NULL DEFAULT '0',
  298. `ffi_keyword_blacklist` text,
  299. PRIMARY KEY (`id`),
  300. KEY `uid_name` (`uid`,`name`(190)),
  301. KEY `self_uid` (`self`,`uid`),
  302. KEY `alias_uid` (`alias`(32),`uid`),
  303. KEY `pending_uid` (`pending`,`uid`),
  304. KEY `blocked_uid` (`blocked`,`uid`),
  305. KEY `uid_rel_network_poll` (`uid`,`rel`,`network`,`poll`(64),`archive`),
  306. KEY `uid_network_batch` (`uid`,`network`,`batch`(64)),
  307. KEY `addr_uid` (`addr`(32),`uid`),
  308. KEY `nurl_uid` (`nurl`(32),`uid`),
  309. KEY `nick_uid` (`nick`(32),`uid`),
  310. KEY `dfrn-id` (`dfrn-id`(64)),
  311. KEY `issued-id` (`issued-id`(64))
  312. ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COMMENT='contact table';
  313. /*!40101 SET character_set_client = @saved_cs_client */;
  314. --
  315. -- Dumping data for table `contact`
  316. --
  317. LOCK TABLES `contact` WRITE;
  318. /*!40000 ALTER TABLE `contact` DISABLE KEYS */;
  319. INSERT INTO `contact` VALUES (1,1,'2018-11-17 12:31:27',1,0,0,0,'','admin','admin','','',NULL,'','','','http://192.168.22.10/photo/profile/1.jpg','http://192.168.22.10/photo/59483894715bf00a1f6a24a891914929-4.jpg?ts=1542457887','http://192.168.22.10/photo/59483894715bf00a1f6a24a891914929-5.jpg?ts=1542457887','http://192.168.22.10/photo/59483894715bf00a1f6a24a891914929-6.jpg?ts=1542457887',NULL,'','','http://192.168.22.10/profile/admin','http://192.168.22.10/profile/admin','admin@192.168.22.10','',NULL,NULL,'','http://192.168.22.10/dfrn_request/admin','http://192.168.22.10/dfrn_notify/admin','http://192.168.22.10/dfrn_poll/admin','http://192.168.22.10/dfrn_confirm/admin','http://192.168.22.10/poco/admin',0,0,0,0,'','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','2018-11-17 12:34:42','2018-11-17 12:31:27','2018-11-17 12:31:27','0001-01-01 00:00:00','0001-01-01 00:00:00',0,0,0,0,0,0,0,0,0,0,0,0,NULL,0,NULL,0,'','0001-01-01',0,0,NULL),(2,0,'2018-11-17 12:34:21',0,0,2,0,'dfrn','admin','admin','','',NULL,'','','','http://192.168.22.10/photo/profile/1.jpg','http://192.168.22.10/photo/52226322615bf00acd9acbf086558812-4.jpg?ts=1542459003','http://192.168.22.10/photo/52226322615bf00acd9acbf086558812-5.jpg?ts=1542459003','http://192.168.22.10/photo/52226322615bf00acd9acbf086558812-6.jpg?ts=1542459003',NULL,'','','http://192.168.22.10/profile/admin','http://192.168.22.10/profile/admin','admin@192.168.22.10','http://192.168.22.10/~admin','-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyYmalhhmPJg0qwLjbeoL\nKgykA6idu8HtZkKWPpXZHHD9J0InLId7Ht3G9dSBIBbHpWhaoFHkI06PRaqiT3sY\n4yXPBWDuhnIzzbV5VbxXShzRCe0LzBMhvusf/74sQkqH64g7xsaSBipHHaUEa7yD\nv+xCoGtoSOcqGEBzesSH//sIl94IrkkN+/grb1ZSFFjQYWMLMWMD7Py/awcqOtCB\nJ6NnmcBVMK5CxyV+YN+C+dhUsf+LjvH7WE0uigvTlMG+lGfXHxl4/en8bcAQ/GEr\n1xfbDJuknxr+ckGFZeHtj6Noz1IRD7y+7rlTgbZTmOrCJKg38Br2m3tMGGhIU3t7\nSmrKn8qqf9HuyR83+7Cu+t8x24LuhTjGW2Z6KE5TqYacMu+to58MFH8lDOnoOxHA\nGWpi9kYPXSbO9mLwDNF3pue3bLusvGQnns9h38w8m1Q25nivKKvgVbOrdNaB6wUy\nFIDcqjlZOVIyZ24QWZck77Em/cCkEf1c9kV4f1VjwmyQ4apSPf6q92AHcBlbv7yI\nFhVbGMhEaMIT7PQgxi2F48YInnlNjQlk3yHv3sdjlYJvcHHlf2PsMXlRb1CzrFRf\nX6Uv7e1obwy+SsywkAq+sT4tfsPEw2mIL56cXw0licP2hjOIgzYD1xi8pZx3xsQP\nTjdpqBmCKfnzs+TCZIbXIQ8CAwEAAQ==\n-----END PUBLIC KEY-----\n',NULL,'','http://192.168.22.10/dfrn_request/admin','http://192.168.22.10/dfrn_notify/admin','http://192.168.22.10/dfrn_poll/admin','http://192.168.22.10/dfrn_confirm/admin','http://192.168.22.10/poco/admin',0,0,0,0,'','0001-01-01 00:00:00','2018-11-17 12:34:45','0001-01-01 00:00:00','2018-11-17 12:34:45','2018-11-17 12:34:45','2018-11-17 12:50:03','0001-01-01 00:00:00','0001-01-01 00:00:00',0,0,0,1,0,0,-1,0,0,0,0,0,NULL,99,NULL,0,'','0001-01-01',0,0,NULL),(3,0,'2018-11-17 12:34:43',0,0,1,0,'dfrn','relay','relay','',NULL,NULL,'','','','','','','',NULL,'','','http://192.168.22.10','http://192.168.22.10','','',NULL,NULL,'http://192.168.22.10/dfrn_notify',NULL,NULL,NULL,NULL,NULL,0,0,0,0,'','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00','0001-01-01 00:00:00',0,0,0,1,0,0,4,0,0,0,0,0,NULL,99,NULL,0,'','0001-01-01',0,0,NULL),(4,2,'2018-11-17 12:39:46',1,0,0,0,'','friendica1','friendica1','','',NULL,'','','','http://192.168.22.10/photo/profile/2.jpg','http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007','http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-5.jpg?ts=1542459007','http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-6.jpg?ts=1542459007',NULL,'','','http://192.168.22.10/profile/friendica1','http://192.168.22.10/profile/friendica1','friendica1@192.168.22.10','',NULL,NULL,'','http://192.168.22.10/dfrn_request/friendica1','http://192.168.22.10/dfrn_notify/friendica1','http://192.168.22.10/dfrn_poll/friendica1','http://192.168.22.10/dfrn_confirm/friendica1','http://192.168.22.10/poco/friendica1',0,0,0,0,'','0001-01-01 00:00:00','2018-11-17 14:02:14','0001-01-01 00:00:00','2018-11-17 12:39:46','2018-11-17 12:39:46','2018-11-17 12:50:0
  320. /*!40000 ALTER TABLE `contact` ENABLE KEYS */;
  321. UNLOCK TABLES;
  322. --
  323. -- Table structure for table `conv`
  324. --
  325. DROP TABLE IF EXISTS `conv`;
  326. /*!40101 SET @saved_cs_client = @@character_set_client */;
  327. /*!40101 SET character_set_client = utf8 */;
  328. CREATE TABLE `conv` (
  329. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  330. `guid` varchar(255) NOT NULL DEFAULT '' COMMENT 'A unique identifier for this conversation',
  331. `recips` text COMMENT 'sender_handle;recipient_handle',
  332. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  333. `creator` varchar(255) NOT NULL DEFAULT '' COMMENT 'handle of creator',
  334. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'creation timestamp',
  335. `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'edited timestamp',
  336. `subject` text COMMENT 'subject of initial message',
  337. PRIMARY KEY (`id`),
  338. KEY `uid` (`uid`)
  339. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='private messages';
  340. /*!40101 SET character_set_client = @saved_cs_client */;
  341. --
  342. -- Dumping data for table `conv`
  343. --
  344. LOCK TABLES `conv` WRITE;
  345. /*!40000 ALTER TABLE `conv` DISABLE KEYS */;
  346. /*!40000 ALTER TABLE `conv` ENABLE KEYS */;
  347. UNLOCK TABLES;
  348. --
  349. -- Table structure for table `conversation`
  350. --
  351. DROP TABLE IF EXISTS `conversation`;
  352. /*!40101 SET @saved_cs_client = @@character_set_client */;
  353. /*!40101 SET character_set_client = utf8 */;
  354. CREATE TABLE `conversation` (
  355. `item-uri` varbinary(255) NOT NULL COMMENT 'Original URI of the item - unrelated to the table with the same name',
  356. `reply-to-uri` varbinary(255) NOT NULL DEFAULT '' COMMENT 'URI to which this item is a reply',
  357. `conversation-uri` varbinary(255) NOT NULL DEFAULT '' COMMENT 'GNU Social conversation URI',
  358. `conversation-href` varbinary(255) NOT NULL DEFAULT '' COMMENT 'GNU Social conversation link',
  359. `protocol` tinyint(3) unsigned NOT NULL DEFAULT '255' COMMENT 'The protocol of the item',
  360. `source` mediumtext COMMENT 'Original source',
  361. `received` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Receiving date',
  362. PRIMARY KEY (`item-uri`),
  363. KEY `conversation-uri` (`conversation-uri`),
  364. KEY `received` (`received`)
  365. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Raw data and structure information for messages';
  366. /*!40101 SET character_set_client = @saved_cs_client */;
  367. --
  368. -- Dumping data for table `conversation`
  369. --
  370. LOCK TABLES `conversation` WRITE;
  371. /*!40000 ALTER TABLE `conversation` DISABLE KEYS */;
  372. INSERT INTO `conversation` VALUES (_binary 'http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082','',_binary 'http://192.168.22.10/display/friendica1/3',_binary 'http://192.168.22.10/display/friendica1/3',1,'<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<feed xmlns=\"http://www.w3.org/2005/Atom\" xmlns:thr=\"http://purl.org/syndication/thread/1.0\" xmlns:at=\"http://purl.org/atompub/tombstones/1.0\" xmlns:media=\"http://purl.org/syndication/atommedia\" xmlns:dfrn=\"http://purl.org/macgirvin/dfrn/1.0\" xmlns:activity=\"http://activitystrea.ms/spec/1.0/\" xmlns:georss=\"http://www.georss.org/georss\" xmlns:poco=\"http://portablecontacts.net/spec/1.0\" xmlns:ostatus=\"http://ostatus.org/schema/1.0\" xmlns:statusnet=\"http://status.net/schema/api/1/\">\n <id>http://192.168.22.10/profile/friendica1</id>\n <title>friendica1</title>\n <generator uri=\"https://friendi.ca\" version=\"2018.12-dev-1290\">Friendica</generator>\n <link rel=\"license\" href=\"http://creativecommons.org/licenses/by/3.0/\"/>\n <link rel=\"alternate\" type=\"text/html\" href=\"http://192.168.22.10/profile/friendica1\"/>\n <dfrn:account_type>0</dfrn:account_type>\n <updated>2018-11-17T14:00:02Z</updated>\n <dfrn:owner>\n <name dfrn:updated=\"2018-11-17T12:39:46Z\">friendica1</name>\n <uri dfrn:updated=\"2018-11-17T12:39:46Z\">http://192.168.22.10/profile/friendica1</uri>\n <dfrn:handle dfrn:updated=\"2018-11-17T12:39:46Z\">friendica1@192.168.22.10</dfrn:handle>\n <link rel=\"photo\" type=\"image/jpeg\" media:width=\"300\" media:height=\"300\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\" dfrn:updated=\"2018-11-17T12:50:07Z\"/>\n <link rel=\"avatar\" type=\"image/jpeg\" media:width=\"300\" media:height=\"300\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\" dfrn:updated=\"2018-11-17T12:50:07Z\"/>\n <dfrn:hide>true</dfrn:hide>\n <poco:displayName>friendica1</poco:displayName>\n <poco:updated>2018-11-17T12:39:46Z</poco:updated>\n <poco:note/>\n <poco:preferredUsername>friendica1</poco:preferredUsername>\n <poco:utcOffset>+00:00</poco:utcOffset>\n </dfrn:owner>\n <entry>\n <author>\n <name>friendica1</name>\n <uri>http://192.168.22.10/profile/friendica1</uri>\n <dfrn:handle>friendica1@192.168.22.10</dfrn:handle>\n <link rel=\"photo\" type=\"image/jpeg\" media:width=\"80\" media:height=\"80\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\"/>\n <link rel=\"avatar\" type=\"image/jpeg\" media:width=\"80\" media:height=\"80\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\"/>\n </author>\n <dfrn:owner>\n <name>friendica1</name>\n <uri>http://192.168.22.10/profile/friendica1</uri>\n <dfrn:handle>friendica1@192.168.22.10</dfrn:handle>\n <link rel=\"photo\" type=\"image/jpeg\" media:width=\"80\" media:height=\"80\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\"/>\n <link rel=\"avatar\" type=\"image/jpeg\" media:width=\"80\" media:height=\"80\" href=\"http://192.168.22.10/photo/12287146285bf00e7fd3b7e500413187-4.jpg?ts=1542459007\"/>\n </dfrn:owner>\n <ostatus:conversation href=\"http://192.168.22.10/display/friendica1/3\" ref=\"http://192.168.22.10/display/friendica1/3\">http://192.168.22.10/display/friendica1/3</ostatus:conversation>\n <id>http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082</id>\n <title/>\n <published>2018-11-17T13:51:58Z</published>\n <updated>2018-11-17T13:51:58Z</updated>\n <dfrn:env>VGhpcyBpcyBhIHBvc3RpbmcgdG8gZ3JvdXAgMS4</dfrn:env>\n <content type=\"text\">This is a posting to group 1.</content>\n <link rel=\"alternate\" type=\"text/html\" href=\"http://192.168.22.10/display/930bb26b-125b-f01c-fe10-e5f035205082\"/>\n <dfrn:comment-allow>1</dfrn:comment-allow>\n <dfrn:private>1</dfrn:private>\n <dfrn:diaspora_guid>930bb26b-125b-f01c-fe10-e5f035205082</dfrn:diaspora_guid>\n <act
  373. /*!40000 ALTER TABLE `conversation` ENABLE KEYS */;
  374. UNLOCK TABLES;
  375. --
  376. -- Table structure for table `diaspora-interaction`
  377. --
  378. DROP TABLE IF EXISTS `diaspora-interaction`;
  379. /*!40101 SET @saved_cs_client = @@character_set_client */;
  380. /*!40101 SET character_set_client = utf8 */;
  381. CREATE TABLE `diaspora-interaction` (
  382. `uri-id` int(10) unsigned NOT NULL COMMENT 'Id of the item-uri table entry that contains the item uri',
  383. `interaction` mediumtext COMMENT 'The Diaspora interaction',
  384. PRIMARY KEY (`uri-id`)
  385. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Signed Diaspora Interaction';
  386. /*!40101 SET character_set_client = @saved_cs_client */;
  387. --
  388. -- Dumping data for table `diaspora-interaction`
  389. --
  390. LOCK TABLES `diaspora-interaction` WRITE;
  391. /*!40000 ALTER TABLE `diaspora-interaction` DISABLE KEYS */;
  392. INSERT INTO `diaspora-interaction` VALUES (3,'{\"author\":\"friendica2@192.168.22.10\",\"guid\":\"930bb26b-155b-f01d-60ee-5ee161000810\",\"created_at\":\"2018-11-17T13:53:36Z\",\"parent_guid\":\"930bb26b-205b-f01c-e722-bc8141142783\",\"text\":\"friendica 2 checking in.\",\"author_signature\":\"CLL2\\/rpsdp+DLh+WuUVGFHSLR0T0wHXGmSsGyDZlUvKbrNILgtfClX7eXzgswLba9wGA+n1uGd2VAFW6jor7bhTbqvxIx\\/r9MAysgsuFKdMTuAn5E6wmMeT3IDUmnvuYI4+QpfBWXJdpDzbol9jRE3zlUjJjA+DpCYJd466Wyl0koS8uDpswoW3f4It\\/fxUH4XS0+Np1GlBB4XE1Rd3\\/3VsQMltxbQCY8iQtq\\/6fQDQ3n1HUFEE\\/nEd5xaHLL2FYI4udZE+VdXgV+iSaE7FksHebhFOc1OHjQY3PrM7pJkZZjbiRMDIF0Y7QDc7ZztAS2UZi4olrkXpWAGXiq91o2qSoBTg2WgCVxj+z355BLI859NMgOZV9MCBMQIDXdiu8dZy\\/B5tyrIKrAtAl5dSeDFZUXCztxO1BjVNqdkS+emlsKFK0miD6UqsSkASeGxu6PR+M+KUVEj34PnlVg7XO8upRGIU7wefzjzr4H+mGKN1XxfKvwQvV3JbKExY+lzvdFHIUHJ8DMwjmcSAdzAb7nKh5TXoYLeLYRPjEs66tA6U8QdPVprEdUiOt3oYztUAjguW9qoNDJD7Uwcd10UmuyX382HmHjZk8+5fbqJUyDbrx5xucKA3YluOOoiCTcQnnFajb8E9iVQcb2FhZaced2KZsi5TUQaeFxzboJTC5wiU=\"}'),(4,'{\"author\":\"friendica4@192.168.22.10\",\"guid\":\"930bb26b-135b-f01d-8e3d-8cc050176928\",\"created_at\":\"2018-11-17T13:54:22Z\",\"parent_guid\":\"930bb26b-205b-f01c-e722-bc8141142783\",\"text\":\"friendica 4 testing ![:-)](http:\\/\\/192.168.22.10\\/images\\/smiley-smile.gif \\\":-)\\\")\",\"author_signature\":\"Vb6Zsv9mbohlyjwpJygXcWfB+hheZSwDPaIg91l3ktTy\\/U7LtnjaPMwi1reyVMKJkJOStrBKbLU4K4Wf5H16hjIRHK76gvsFjAHNJ0+38RKeYhOoYrDhG037XqeqO\\/HiXvQUXrOEmOck4P1Z+25W6pW38HuSZOdja02fF1VdUipSytxuJam5JBeo0akZAAWSRw1\\/OseUMxdawEoUz0XKUoufNlfgFjU\\/Z6TgzEEC\\/bGr7JyOMMqX6BaGQi65WLuBdtSPteFvz+qWfBcosBmpuoTQwvx7p68WcNyv2B\\/zP5N1RHL1\\/JTpYX3rD9aab9bFei5VuMczDzU6wBxZUF718MG+00A3zJ9Lh7Zikad3Ryn\\/HQvdT5DlNyCVIs\\/9hLRsEUSwvoxnCR1vOwt7oZtwejHiCcDcrM+UM7nykblb6Ms0ds2RZ3BrlSU0JFRjzIj+sDq\\/NBcwxRPec2rsdlAF6ogxRx3I19173ZF6RrL+mWT1TpKPOpIseN5megEeInHf3RAn68JmE\\/6v3DBsEPNTleofzzJQpMIrN5j4hXps5O7uB8YJ3+2rHUs\\/qHz7M8LhndFqXeqtCbLeQOkeZcwqV+5KvXKg+yezZzQBG21RE+JYMJx1LIZ7N+22JtcdSMCwhYcVUTIfuRX2ka+Pfuq2Dszm0PBwq3GNC5wrXpwTlLk=\"}'),(5,'{\"author\":\"friendica1@192.168.22.10\",\"guid\":\"930bb26b-765b-f01f-5a43-22a585408489\",\"parent_guid\":\"930bb26b-135b-f01d-8e3d-8cc050176928\",\"parent_type\":\"Comment\",\"positive\":\"true\",\"author_signature\":\"Q7WqVz2AvuF2noYjsq3DQB3j\\/9+WRmiJCiy3DMJGYWNKXzgik6LNrj2rcEGUNY9zQQLXgKncBPZ\\/z0CB\\/tcEiM1UC683DQDkZh35ErbmeXSilCVXinFuPdoh\\/ARd+EC41r7Xv0BZlYNfVLqbHrSZZScWzjiX1XDXguFFcQQApv9lFH52u\\/C\\/rUGKOUN\\/7nX9fWEvPYSynqVaybZ8PdKZG9OaI2ys5LZWsReD4\\/6Jv4nKfCkp6JvlJGuuSz0azrg804X5\\/DU4Y0vU8Ul3zTNf4y9p7tjoOaNSfTt01NvRUpmCW\\/Tiz7P5m8V0Zr5cxFWROn9TpYtEYrf1897QHvADEyNvG4xfhCZOzZq0c6j5y7zQTTDUWg3YJsN\\/xa+l1VXRPhcUw6nUkOVcrLwOnlf95ibJ+7Y0qP3x38Y6Ki66JHHtpBgMx17Da5xOHukKzj0kd6\\/jmqDS8w86mTiEx5xbxBqS\\/pc9g85QH\\/3Qm7CKbCPfECa2LGh943JsJ03ScoK1ZcrdW6JHFf0tBYJ8ICzeYShoBVKZY9k687TQa5SXm8pBlftMxY9CAT8NIBpZVElivyRu+2GlvhX7TH02ms5PdbjxoeHaCCkPfqg1AZKDhn+u79ulodUAnb8SCF\\/UbZzDMtEwKMZ2X6O6iaXBVarOX4VhwwhUfcnsD1DiqBUFLxs=\"}'),(6,'{\"author\":\"friendica1@192.168.22.10\",\"guid\":\"930bb26b-555b-f01f-66c7-ab6175377664\",\"created_at\":\"2018-11-17T14:02:14Z\",\"parent_guid\":\"930bb26b-205b-f01c-e722-bc8141142783\",\"text\":\"Nice to have you here ![:-D](http:\\/\\/192.168.22.10\\/images\\/smiley-laughing.gif \\\":-D\\\")\",\"author_signature\":\"aiH0OwbqavuDg9TjUR4bvd8tLNc\\/ElSCv9jk3u048t8t80WqncjqN2SLL53TXoez66QJSa2vkRnwJDkoaudmdwBYTPqxsTGfN6DJRAc6k\\/eDKzemwUw2owp79BPzOHz\\/qF07I6oVz2iKzD2GmWcWk2xIKQaeAYecJT0w9tNppu6IrrAttzBXnH+3gLY7wSn2NLVOvkFSB6MpcZ18HJo0ofqpz1XSmYIhfOtP8mF5Z4IgVi1e1WGGfpjVMO+Kn5ouDPUsHt98no1Y3pBKrd0GFSD\\/sP95eVZ4HTogU3LhKo6qqXXf3nglBHBj9pmuwJXr0YMcgPDltF20bnjC71fvTCQJQJQd6nwiacv7xOS6zgHcziQKYC9k+UMBbpXMbIDNGp64ruabYIgbvPR8eixbF81UyWngRF6WZQZjOmyo5QGDlj4f2TQCTq39Bx9bw+Ea1x3IovhQe1bFWnRna6pPlQrpfzvn4Uigc2sDA9yCoIEiPeSpFG1GfuW6fWVq4ntlJR71lfqZadePpYCzutBK5SD1oRT1oxFbsi\\/e2yMCekHK0B7bUB7CzLgU1VWlQgD0bburIZW9R4AxLboNKvvJoslGgo\\/QipKC+9UKbM4tGqeEjuXTsL4kQGh1cqQGLt8m0ggn3Jv8DN2MBXteeC1vsO3bKHwhoAXz\\/oV3IX\\/nadg=\",\"thread_parent_guid\":\"930bb26b-135b-f01d-8e3d-8cc050176928\"}'),(8,'{\"author\":\"fr
  393. /*!40000 ALTER TABLE `diaspora-interaction` ENABLE KEYS */;
  394. UNLOCK TABLES;
  395. --
  396. -- Table structure for table `event`
  397. --
  398. DROP TABLE IF EXISTS `event`;
  399. /*!40101 SET @saved_cs_client = @@character_set_client */;
  400. /*!40101 SET character_set_client = utf8 */;
  401. CREATE TABLE `event` (
  402. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  403. `guid` varchar(255) NOT NULL DEFAULT '',
  404. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  405. `cid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'contact_id (ID of the contact in contact table)',
  406. `uri` varchar(255) NOT NULL DEFAULT '',
  407. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'creation time',
  408. `edited` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'last edit time',
  409. `start` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'event start time',
  410. `finish` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'event end time',
  411. `summary` text COMMENT 'short description or title of the event',
  412. `desc` text COMMENT 'event description',
  413. `location` text COMMENT 'event location',
  414. `type` varchar(20) NOT NULL DEFAULT '' COMMENT 'event or birthday',
  415. `nofinish` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'if event does have no end this is 1',
  416. `adjust` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'adjust to timezone of the recipient (0 or 1)',
  417. `ignore` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 or 1',
  418. `allow_cid` mediumtext COMMENT 'Access Control - list of allowed contact.id ''<19><78>''',
  419. `allow_gid` mediumtext COMMENT 'Access Control - list of allowed groups',
  420. `deny_cid` mediumtext COMMENT 'Access Control - list of denied contact.id',
  421. `deny_gid` mediumtext COMMENT 'Access Control - list of denied groups',
  422. PRIMARY KEY (`id`),
  423. KEY `uid_start` (`uid`,`start`)
  424. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Events';
  425. /*!40101 SET character_set_client = @saved_cs_client */;
  426. --
  427. -- Dumping data for table `event`
  428. --
  429. LOCK TABLES `event` WRITE;
  430. /*!40000 ALTER TABLE `event` DISABLE KEYS */;
  431. /*!40000 ALTER TABLE `event` ENABLE KEYS */;
  432. UNLOCK TABLES;
  433. --
  434. -- Table structure for table `fcontact`
  435. --
  436. DROP TABLE IF EXISTS `fcontact`;
  437. /*!40101 SET @saved_cs_client = @@character_set_client */;
  438. /*!40101 SET character_set_client = utf8 */;
  439. CREATE TABLE `fcontact` (
  440. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  441. `guid` varchar(255) NOT NULL DEFAULT '' COMMENT 'unique id',
  442. `url` varchar(255) NOT NULL DEFAULT '',
  443. `name` varchar(255) NOT NULL DEFAULT '',
  444. `photo` varchar(255) NOT NULL DEFAULT '',
  445. `request` varchar(255) NOT NULL DEFAULT '',
  446. `nick` varchar(255) NOT NULL DEFAULT '',
  447. `addr` varchar(255) NOT NULL DEFAULT '',
  448. `batch` varchar(255) NOT NULL DEFAULT '',
  449. `notify` varchar(255) NOT NULL DEFAULT '',
  450. `poll` varchar(255) NOT NULL DEFAULT '',
  451. `confirm` varchar(255) NOT NULL DEFAULT '',
  452. `priority` tinyint(3) unsigned NOT NULL DEFAULT '0',
  453. `network` char(4) NOT NULL DEFAULT '',
  454. `alias` varchar(255) NOT NULL DEFAULT '',
  455. `pubkey` text,
  456. `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  457. PRIMARY KEY (`id`),
  458. UNIQUE KEY `url` (`url`(190)),
  459. KEY `addr` (`addr`(32))
  460. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Diaspora compatible contacts - used in the Diaspora implementation';
  461. /*!40101 SET character_set_client = @saved_cs_client */;
  462. --
  463. -- Dumping data for table `fcontact`
  464. --
  465. LOCK TABLES `fcontact` WRITE;
  466. /*!40000 ALTER TABLE `fcontact` DISABLE KEYS */;
  467. /*!40000 ALTER TABLE `fcontact` ENABLE KEYS */;
  468. UNLOCK TABLES;
  469. --
  470. -- Table structure for table `fsuggest`
  471. --
  472. DROP TABLE IF EXISTS `fsuggest`;
  473. /*!40101 SET @saved_cs_client = @@character_set_client */;
  474. /*!40101 SET character_set_client = utf8 */;
  475. CREATE TABLE `fsuggest` (
  476. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  477. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
  478. `cid` int(10) unsigned NOT NULL DEFAULT '0',
  479. `name` varchar(255) NOT NULL DEFAULT '',
  480. `url` varchar(255) NOT NULL DEFAULT '',
  481. `request` varchar(255) NOT NULL DEFAULT '',
  482. `photo` varchar(255) NOT NULL DEFAULT '',
  483. `note` text,
  484. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  485. PRIMARY KEY (`id`)
  486. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='friend suggestion stuff';
  487. /*!40101 SET character_set_client = @saved_cs_client */;
  488. --
  489. -- Dumping data for table `fsuggest`
  490. --
  491. LOCK TABLES `fsuggest` WRITE;
  492. /*!40000 ALTER TABLE `fsuggest` DISABLE KEYS */;
  493. /*!40000 ALTER TABLE `fsuggest` ENABLE KEYS */;
  494. UNLOCK TABLES;
  495. --
  496. -- Table structure for table `gcign`
  497. --
  498. DROP TABLE IF EXISTS `gcign`;
  499. /*!40101 SET @saved_cs_client = @@character_set_client */;
  500. /*!40101 SET character_set_client = utf8 */;
  501. CREATE TABLE `gcign` (
  502. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  503. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Local User id',
  504. `gcid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'gcontact.id of ignored contact',
  505. PRIMARY KEY (`id`),
  506. KEY `uid` (`uid`),
  507. KEY `gcid` (`gcid`)
  508. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='contacts ignored by friend suggestions';
  509. /*!40101 SET character_set_client = @saved_cs_client */;
  510. --
  511. -- Dumping data for table `gcign`
  512. --
  513. LOCK TABLES `gcign` WRITE;
  514. /*!40000 ALTER TABLE `gcign` DISABLE KEYS */;
  515. /*!40000 ALTER TABLE `gcign` ENABLE KEYS */;
  516. UNLOCK TABLES;
  517. --
  518. -- Table structure for table `gcontact`
  519. --
  520. DROP TABLE IF EXISTS `gcontact`;
  521. /*!40101 SET @saved_cs_client = @@character_set_client */;
  522. /*!40101 SET character_set_client = utf8 */;
  523. CREATE TABLE `gcontact` (
  524. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  525. `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name that this contact is known by',
  526. `nick` varchar(255) NOT NULL DEFAULT '' COMMENT 'Nick- and user name of the contact',
  527. `url` varchar(255) NOT NULL DEFAULT '' COMMENT 'Link to the contacts profile page',
  528. `nurl` varchar(255) NOT NULL DEFAULT '',
  529. `photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'Link to the profile photo',
  530. `connect` varchar(255) NOT NULL DEFAULT '',
  531. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  532. `updated` datetime DEFAULT '0001-01-01 00:00:00',
  533. `last_contact` datetime DEFAULT '0001-01-01 00:00:00',
  534. `last_failure` datetime DEFAULT '0001-01-01 00:00:00',
  535. `location` varchar(255) NOT NULL DEFAULT '',
  536. `about` text,
  537. `keywords` text COMMENT 'puplic keywords (interests)',
  538. `gender` varchar(32) NOT NULL DEFAULT '',
  539. `birthday` varchar(32) NOT NULL DEFAULT '0001-01-01',
  540. `community` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 if contact is forum account',
  541. `contact-type` tinyint(4) NOT NULL DEFAULT '-1',
  542. `hide` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 = should be hidden from search',
  543. `nsfw` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 = contact posts nsfw content',
  544. `network` char(4) NOT NULL DEFAULT '' COMMENT 'social network protocol',
  545. `addr` varchar(255) NOT NULL DEFAULT '',
  546. `notify` varchar(255) DEFAULT NULL,
  547. `alias` varchar(255) NOT NULL DEFAULT '',
  548. `generation` tinyint(3) unsigned NOT NULL DEFAULT '0',
  549. `server_url` varchar(255) NOT NULL DEFAULT '' COMMENT 'baseurl of the contacts server',
  550. PRIMARY KEY (`id`),
  551. UNIQUE KEY `nurl` (`nurl`(190)),
  552. KEY `name` (`name`(64)),
  553. KEY `nick` (`nick`(32)),
  554. KEY `addr` (`addr`(64)),
  555. KEY `hide_network_updated` (`hide`,`network`,`updated`),
  556. KEY `updated` (`updated`)
  557. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COMMENT='global contacts';
  558. /*!40101 SET character_set_client = @saved_cs_client */;
  559. --
  560. -- Dumping data for table `gcontact`
  561. --
  562. LOCK TABLES `gcontact` WRITE;
  563. /*!40000 ALTER TABLE `gcontact` DISABLE KEYS */;
  564. INSERT INTO `gcontact` VALUES (1,'admin','admin','http://192.168.22.10/profile/admin','http://192.168.22.10/profile/admin','http://192.168.22.10/photo/profile/1.jpg','admin@192.168.22.10','2018-11-17 12:34:42','2018-11-17 12:50:02','2018-11-17 12:34:46','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','admin@192.168.22.10','http://192.168.22.10/dfrn_notify/admin','http://192.168.22.10/~admin',1,'http://192.168.22.10'),(2,'friendica1','friendica1','http://192.168.22.10/profile/friendica1','http://192.168.22.10/profile/friendica1','http://192.168.22.10/photo/profile/2.jpg','friendica1@192.168.22.10','2018-11-17 12:50:03','2018-11-17 13:50:02','2018-11-17 13:50:06','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','friendica1@192.168.22.10','http://192.168.22.10/dfrn_notify/friendica1','http://192.168.22.10/~friendica1',1,'http://192.168.22.10'),(3,'friendica2','friendica2','http://192.168.22.10/profile/friendica2','http://192.168.22.10/profile/friendica2','http://192.168.22.10/photo/profile/3.jpg','friendica2@192.168.22.10','2018-11-17 12:50:03','2018-11-17 13:50:03','2018-11-17 13:50:05','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','friendica2@192.168.22.10','http://192.168.22.10/dfrn_notify/friendica2','http://192.168.22.10/~friendica2',1,'http://192.168.22.10'),(4,'friendica3','friendica3','http://192.168.22.10/profile/friendica3','http://192.168.22.10/profile/friendica3','http://192.168.22.10/photo/profile/4.jpg','friendica3@192.168.22.10','2018-11-17 12:50:03','0001-01-01 00:00:00','2018-11-17 13:50:05','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','friendica3@192.168.22.10','http://192.168.22.10/dfrn_notify/friendica3','http://192.168.22.10/~friendica3',1,'http://192.168.22.10'),(5,'friendica4','friendica4','http://192.168.22.10/profile/friendica4','http://192.168.22.10/profile/friendica4','http://192.168.22.10/photo/profile/5.jpg','friendica4@192.168.22.10','2018-11-17 12:50:03','2018-11-17 13:50:04','2018-11-17 13:50:06','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','friendica4@192.168.22.10','http://192.168.22.10/dfrn_notify/friendica4','http://192.168.22.10/~friendica4',1,'http://192.168.22.10'),(6,'friendica5','friendica5','http://192.168.22.10/profile/friendica5','http://192.168.22.10/profile/friendica5','http://192.168.22.10/photo/profile/6.jpg','friendica5@192.168.22.10','2018-11-17 12:50:03','0001-01-01 00:00:00','2018-11-17 13:50:06','0001-01-01 00:00:00','','',NULL,'','0000-00-00',0,-1,1,0,'dfrn','friendica5@192.168.22.10','http://192.168.22.10/dfrn_notify/friendica5','http://192.168.22.10/~friendica5',1,'http://192.168.22.10');
  565. /*!40000 ALTER TABLE `gcontact` ENABLE KEYS */;
  566. UNLOCK TABLES;
  567. --
  568. -- Table structure for table `glink`
  569. --
  570. DROP TABLE IF EXISTS `glink`;
  571. /*!40101 SET @saved_cs_client = @@character_set_client */;
  572. /*!40101 SET character_set_client = utf8 */;
  573. CREATE TABLE `glink` (
  574. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  575. `cid` int(10) unsigned NOT NULL DEFAULT '0',
  576. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
  577. `gcid` int(10) unsigned NOT NULL DEFAULT '0',
  578. `zcid` int(10) unsigned NOT NULL DEFAULT '0',
  579. `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  580. PRIMARY KEY (`id`),
  581. UNIQUE KEY `cid_uid_gcid_zcid` (`cid`,`uid`,`gcid`,`zcid`),
  582. KEY `gcid` (`gcid`)
  583. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='''friends of friends'' linkages derived from poco';
  584. /*!40101 SET character_set_client = @saved_cs_client */;
  585. --
  586. -- Dumping data for table `glink`
  587. --
  588. LOCK TABLES `glink` WRITE;
  589. /*!40000 ALTER TABLE `glink` DISABLE KEYS */;
  590. /*!40000 ALTER TABLE `glink` ENABLE KEYS */;
  591. UNLOCK TABLES;
  592. --
  593. -- Table structure for table `group`
  594. --
  595. DROP TABLE IF EXISTS `group`;
  596. /*!40101 SET @saved_cs_client = @@character_set_client */;
  597. /*!40101 SET character_set_client = utf8 */;
  598. CREATE TABLE `group` (
  599. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  600. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  601. `visible` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 indicates the member list is not private',
  602. `deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 indicates the group has been deleted',
  603. `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'human readable name of group',
  604. PRIMARY KEY (`id`),
  605. KEY `uid` (`uid`)
  606. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='privacy groups, group info';
  607. /*!40101 SET character_set_client = @saved_cs_client */;
  608. --
  609. -- Dumping data for table `group`
  610. --
  611. LOCK TABLES `group` WRITE;
  612. /*!40000 ALTER TABLE `group` DISABLE KEYS */;
  613. INSERT INTO `group` VALUES (1,1,0,0,'Kontakte'),(2,2,0,0,'Friends'),(3,3,0,0,'Friends'),(4,4,0,0,'Friends'),(5,5,0,0,'Friends'),(6,6,0,0,'Friends'),(7,2,0,0,'group1'),(8,2,0,0,'group2');
  614. /*!40000 ALTER TABLE `group` ENABLE KEYS */;
  615. UNLOCK TABLES;
  616. --
  617. -- Table structure for table `group_member`
  618. --
  619. DROP TABLE IF EXISTS `group_member`;
  620. /*!40101 SET @saved_cs_client = @@character_set_client */;
  621. /*!40101 SET character_set_client = utf8 */;
  622. CREATE TABLE `group_member` (
  623. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  624. `gid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'groups.id of the associated group',
  625. `contact-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'contact.id of the member assigned to the associated group',
  626. PRIMARY KEY (`id`),
  627. UNIQUE KEY `gid_contactid` (`gid`,`contact-id`),
  628. KEY `contactid` (`contact-id`)
  629. ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COMMENT='privacy groups, member info';
  630. /*!40101 SET character_set_client = @saved_cs_client */;
  631. --
  632. -- Dumping data for table `group_member`
  633. --
  634. LOCK TABLES `group_member` WRITE;
  635. /*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
  636. INSERT INTO `group_member` VALUES (1,2,15),(2,2,17),(3,2,19),(4,2,21),(5,3,14),(6,3,23),(7,4,16),(8,4,22),(9,5,18),(10,5,25),(11,6,20),(12,6,24),(13,7,15),(14,7,19),(15,8,17),(16,8,21);
  637. /*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
  638. UNLOCK TABLES;
  639. --
  640. -- Table structure for table `gserver`
  641. --
  642. DROP TABLE IF EXISTS `gserver`;
  643. /*!40101 SET @saved_cs_client = @@character_set_client */;
  644. /*!40101 SET character_set_client = utf8 */;
  645. CREATE TABLE `gserver` (
  646. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  647. `url` varchar(255) NOT NULL DEFAULT '',
  648. `nurl` varchar(255) NOT NULL DEFAULT '',
  649. `version` varchar(255) NOT NULL DEFAULT '',
  650. `site_name` varchar(255) NOT NULL DEFAULT '',
  651. `info` text,
  652. `register_policy` tinyint(4) NOT NULL DEFAULT '0',
  653. `registered-users` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Number of registered users',
  654. `poco` varchar(255) NOT NULL DEFAULT '',
  655. `noscrape` varchar(255) NOT NULL DEFAULT '',
  656. `network` char(4) NOT NULL DEFAULT '',
  657. `platform` varchar(255) NOT NULL DEFAULT '',
  658. `relay-subscribe` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Has the server subscribed to the relay system',
  659. `relay-scope` varchar(10) NOT NULL DEFAULT '' COMMENT 'The scope of messages that the server wants to get',
  660. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  661. `last_poco_query` datetime DEFAULT '0001-01-01 00:00:00',
  662. `last_contact` datetime DEFAULT '0001-01-01 00:00:00',
  663. `last_failure` datetime DEFAULT '0001-01-01 00:00:00',
  664. PRIMARY KEY (`id`),
  665. UNIQUE KEY `nurl` (`nurl`(190))
  666. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='Global servers';
  667. /*!40101 SET character_set_client = @saved_cs_client */;
  668. --
  669. -- Dumping data for table `gserver`
  670. --
  671. LOCK TABLES `gserver` WRITE;
  672. /*!40000 ALTER TABLE `gserver` DISABLE KEYS */;
  673. INSERT INTO `gserver` VALUES (1,'http://192.168.22.10','http://192.168.22.10','2018.12-dev','Friendica Social Network','',2,6,'','','dfrn','Friendica',0,'','2018-11-17 12:34:43','0001-01-01 00:00:00','2018-11-17 12:50:08','0001-01-01 00:00:00');
  674. /*!40000 ALTER TABLE `gserver` ENABLE KEYS */;
  675. UNLOCK TABLES;
  676. --
  677. -- Table structure for table `gserver-tag`
  678. --
  679. DROP TABLE IF EXISTS `gserver-tag`;
  680. /*!40101 SET @saved_cs_client = @@character_set_client */;
  681. /*!40101 SET character_set_client = utf8 */;
  682. CREATE TABLE `gserver-tag` (
  683. `gserver-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The id of the gserver',
  684. `tag` varchar(100) NOT NULL DEFAULT '' COMMENT 'Tag that the server has subscribed',
  685. PRIMARY KEY (`gserver-id`,`tag`),
  686. KEY `tag` (`tag`)
  687. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Tags that the server has subscribed';
  688. /*!40101 SET character_set_client = @saved_cs_client */;
  689. --
  690. -- Dumping data for table `gserver-tag`
  691. --
  692. LOCK TABLES `gserver-tag` WRITE;
  693. /*!40000 ALTER TABLE `gserver-tag` DISABLE KEYS */;
  694. /*!40000 ALTER TABLE `gserver-tag` ENABLE KEYS */;
  695. UNLOCK TABLES;
  696. --
  697. -- Table structure for table `hook`
  698. --
  699. DROP TABLE IF EXISTS `hook`;
  700. /*!40101 SET @saved_cs_client = @@character_set_client */;
  701. /*!40101 SET character_set_client = utf8 */;
  702. CREATE TABLE `hook` (
  703. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  704. `hook` varbinary(100) NOT NULL DEFAULT '' COMMENT 'name of hook',
  705. `file` varbinary(200) NOT NULL DEFAULT '' COMMENT 'relative filename of hook handler',
  706. `function` varbinary(200) NOT NULL DEFAULT '' COMMENT 'function name of hook handler',
  707. `priority` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order',
  708. PRIMARY KEY (`id`),
  709. UNIQUE KEY `hook_file_function` (`hook`,`file`,`function`)
  710. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='addon hook registry';
  711. /*!40101 SET character_set_client = @saved_cs_client */;
  712. --
  713. -- Dumping data for table `hook`
  714. --
  715. LOCK TABLES `hook` WRITE;
  716. /*!40000 ALTER TABLE `hook` DISABLE KEYS */;
  717. /*!40000 ALTER TABLE `hook` ENABLE KEYS */;
  718. UNLOCK TABLES;
  719. --
  720. -- Table structure for table `intro`
  721. --
  722. DROP TABLE IF EXISTS `intro`;
  723. /*!40101 SET @saved_cs_client = @@character_set_client */;
  724. /*!40101 SET character_set_client = utf8 */;
  725. CREATE TABLE `intro` (
  726. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  727. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
  728. `fid` int(10) unsigned NOT NULL DEFAULT '0',
  729. `contact-id` int(10) unsigned NOT NULL DEFAULT '0',
  730. `knowyou` tinyint(1) NOT NULL DEFAULT '0',
  731. `duplex` tinyint(1) NOT NULL DEFAULT '0',
  732. `note` text,
  733. `hash` varchar(255) NOT NULL DEFAULT '',
  734. `datetime` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
  735. `blocked` tinyint(1) NOT NULL DEFAULT '1',
  736. `ignore` tinyint(1) NOT NULL DEFAULT '0',
  737. PRIMARY KEY (`id`)
  738. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
  739. /*!40101 SET character_set_client = @saved_cs_client */;
  740. --
  741. -- Dumping data for table `intro`
  742. --
  743. LOCK TABLES `intro` WRITE;
  744. /*!40000 ALTER TABLE `intro` DISABLE KEYS */;
  745. /*!40000 ALTER TABLE `intro` ENABLE KEYS */;
  746. UNLOCK TABLES;
  747. --
  748. -- Table structure for table `item`
  749. --
  750. DROP TABLE IF EXISTS `item`;
  751. /*!40101 SET @saved_cs_client = @@character_set_client */;
  752. /*!40101 SET character_set_client = utf8 */;
  753. CREATE TABLE `item` (
  754. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  755. `guid` varchar(255) NOT NULL DEFAULT '' COMMENT 'A unique identifier for this item',
  756. `uri` varchar(255) NOT NULL DEFAULT '',
  757. `uri-id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-uri table entry that contains the item uri',
  758. `uri-hash` varchar(80) NOT NULL DEFAULT '' COMMENT 'RIPEMD-128 hash from uri',
  759. `parent` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'item.id of the parent to this item if it is a reply of some form; otherwise this must be set to the id of this item',
  760. `parent-uri` varchar(255) NOT NULL DEFAULT '' COMMENT 'uri of the parent to this item',
  761. `parent-uri-id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-uri table that contains the parent uri',
  762. `thr-parent` varchar(255) NOT NULL DEFAULT '' COMMENT 'If the parent of this item is not the top-level item in the conversation, the uri of the immediate parent; otherwise set to parent-uri',
  763. `thr-parent-id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-uri table that contains the thread parent uri',
  764. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Creation timestamp.',
  765. `edited` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of last edit (default is created)',
  766. `commented` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date of last comment/reply to this item',
  767. `received` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime',
  768. `changed` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date that something in the conversation changed, indicating clients should fetch the conversation again',
  769. `gravity` tinyint(3) unsigned NOT NULL DEFAULT '0',
  770. `network` char(4) NOT NULL DEFAULT '' COMMENT 'Network from where the item comes from',
  771. `owner-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Link to the contact table with uid=0 of the owner of this item',
  772. `author-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Link to the contact table with uid=0 of the author of this item',
  773. `icid` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-content table entry that contains the whole item content',
  774. `iaid` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-activity table entry that contains the activity data',
  775. `extid` varchar(255) NOT NULL DEFAULT '',
  776. `post-type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Post type (personal note, bookmark, ...)',
  777. `global` tinyint(1) NOT NULL DEFAULT '0',
  778. `private` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'distribution is restricted',
  779. `visible` tinyint(1) NOT NULL DEFAULT '0',
  780. `moderated` tinyint(1) NOT NULL DEFAULT '0',
  781. `deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'item has been deleted',
  782. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner id which owns this copy of the item',
  783. `contact-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'contact.id',
  784. `wall` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'This item was posted to the wall of uid',
  785. `origin` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'item originated at this site',
  786. `pubmail` tinyint(1) NOT NULL DEFAULT '0',
  787. `starred` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'item has been favourited',
  788. `unseen` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'item has not been seen',
  789. `mention` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'The owner of this item was mentioned in it',
  790. `forum_mode` tinyint(3) unsigned NOT NULL DEFAULT '0',
  791. `psid` int(10) unsigned DEFAULT NULL COMMENT 'ID of the permission set of this post',
  792. `resource-id` varchar(32) NOT NULL DEFAULT '' COMMENT 'Used to link other tables to items, it identifies the linked resource (e.g. photo) and if set must also set resource_type',
  793. `event-id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Used to link to the event.id',
  794. `attach` mediumtext COMMENT 'JSON structure representing attachments to this item',
  795. `allow_cid` mediumtext COMMENT 'Deprecated',
  796. `allow_gid` mediumtext COMMENT 'Deprecated',
  797. `deny_cid` mediumtext COMMENT 'Deprecated',
  798. `deny_gid` mediumtext COMMENT 'Deprecated',
  799. `postopts` text COMMENT 'Deprecated',
  800. `inform` mediumtext COMMENT 'Deprecated',
  801. `type` varchar(20) DEFAULT NULL COMMENT 'Deprecated',
  802. `bookmark` tinyint(1) DEFAULT NULL COMMENT 'Deprecated',
  803. `file` mediumtext COMMENT 'Deprecated',
  804. `location` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  805. `coord` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  806. `tag` mediumtext COMMENT 'Deprecated',
  807. `plink` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  808. `title` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  809. `content-warning` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  810. `body` mediumtext COMMENT 'Deprecated',
  811. `app` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  812. `verb` varchar(100) DEFAULT NULL COMMENT 'Deprecated',
  813. `object-type` varchar(100) DEFAULT NULL COMMENT 'Deprecated',
  814. `object` text COMMENT 'Deprecated',
  815. `target-type` varchar(100) DEFAULT NULL COMMENT 'Deprecated',
  816. `target` text COMMENT 'Deprecated',
  817. `author-name` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  818. `author-link` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  819. `author-avatar` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  820. `owner-name` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  821. `owner-link` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  822. `owner-avatar` varchar(255) DEFAULT NULL COMMENT 'Deprecated',
  823. `rendered-hash` varchar(32) DEFAULT NULL COMMENT 'Deprecated',
  824. `rendered-html` mediumtext COMMENT 'Deprecated',
  825. PRIMARY KEY (`id`),
  826. KEY `guid` (`guid`(191)),
  827. KEY `uri` (`uri`(191)),
  828. KEY `parent` (`parent`),
  829. KEY `parent-uri` (`parent-uri`(191)),
  830. KEY `extid` (`extid`(191)),
  831. KEY `uid_id` (`uid`,`id`),
  832. KEY `uid_contactid_id` (`uid`,`contact-id`,`id`),
  833. KEY `uid_created` (`uid`,`created`),
  834. KEY `uid_commented` (`uid`,`commented`),
  835. KEY `uid_unseen_contactid` (`uid`,`unseen`,`contact-id`),
  836. KEY `uid_network_received` (`uid`,`network`,`received`),
  837. KEY `uid_network_commented` (`uid`,`network`,`commented`),
  838. KEY `uid_thrparent` (`uid`,`thr-parent`(190)),
  839. KEY `uid_parenturi` (`uid`,`parent-uri`(190)),
  840. KEY `uid_contactid_created` (`uid`,`contact-id`,`created`),
  841. KEY `authorid_created` (`author-id`,`created`),
  842. KEY `ownerid` (`owner-id`),
  843. KEY `uid_uri` (`uid`,`uri`(190)),
  844. KEY `resource-id` (`resource-id`),
  845. KEY `deleted_changed` (`deleted`,`changed`),
  846. KEY `uid_wall_changed` (`uid`,`wall`,`changed`),
  847. KEY `uid_eventid` (`uid`,`event-id`),
  848. KEY `icid` (`icid`),
  849. KEY `iaid` (`iaid`),
  850. KEY `psid_wall` (`psid`,`wall`)
  851. ) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COMMENT='Structure for all posts';
  852. /*!40101 SET character_set_client = @saved_cs_client */;
  853. --
  854. -- Dumping data for table `item`
  855. --
  856. LOCK TABLES `item` WRITE;
  857. /*!40000 ALTER TABLE `item` DISABLE KEYS */;
  858. INSERT INTO `item` VALUES (1,'930bb26b-205b-f01c-e722-bc8141142783','http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:51:35','2018-11-17 13:51:35','2018-11-17 14:02:14','2018-11-17 13:51:35','2018-11-17 14:02:14',0,'dfrn',10,10,1,NULL,'',0,1,0,1,0,0,2,4,1,1,0,0,0,0,0,1,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,'930bb26b-205b-f01c-e722-bc8141142783','http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'',2,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:51:35','2018-11-17 13:51:35','2018-11-17 14:03:07','2018-11-17 13:51:35','2018-11-17 14:03:07',0,'dfrn',10,10,1,NULL,'',0,1,0,1,0,0,0,10,0,0,0,0,1,0,0,2,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,'930bb26b-125b-f01c-fe10-e5f035205082','http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082',2,'',3,'http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082',2,'http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082',2,'2018-11-17 13:51:58','2018-11-17 13:51:58','2018-11-17 13:51:58','2018-11-17 13:51:58','2018-11-17 13:51:58',0,'dfrn',10,10,2,NULL,'',0,0,1,1,0,0,2,4,1,1,0,0,0,0,0,3,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,'930bb26b-155b-f01d-60ee-5ee161000810','http://192.168.22.10/objects/930bb26b-155b-f01d-60ee-5ee161000810',3,'',2,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:53:36','2018-11-17 13:53:36','2018-11-17 13:53:36','2018-11-17 13:53:36','2018-11-17 13:53:36',6,'dfrn',9,9,3,NULL,'',0,1,0,1,0,0,0,5,0,1,0,0,1,0,0,2,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,'930bb26b-135b-f01d-8e3d-8cc050176928','http://192.168.22.10/objects/930bb26b-135b-f01d-8e3d-8cc050176928',4,'',2,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:54:22','2018-11-17 13:54:22','2018-11-17 13:54:22','2018-11-17 13:54:22','2018-11-17 13:54:22',6,'dfrn',11,11,4,NULL,'',0,1,0,1,0,0,0,7,0,1,0,0,1,0,0,2,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,'930bb26b-205b-f01c-e722-bc8141142783','http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'',6,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:51:35','2018-11-17 13:51:35','2018-11-17 14:03:08','2018-11-17 14:00:01','2018-11-17 14:03:08',0,'dfrn',10,10,1,NULL,'',0,1,0,1,0,0,3,14,0,0,0,0,1,0,0,4,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,'930bb26b-205b-f01c-e722-bc8141142783','http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'',7,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',1,'2018-11-17 13:51:35','2018-11-17 13:51:35','2018-11-17 14:03:08','2018-11-17 14:00:02','2018-11-17 14:03:08',0,'dfrn',10,10,1,NULL,'',0,1,0,1,0,0,6,20,0,0,0,0,1,0,0,5,'',0,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NUL
  859. /*!40000 ALTER TABLE `item` ENABLE KEYS */;
  860. UNLOCK TABLES;
  861. --
  862. -- Table structure for table `item-activity`
  863. --
  864. DROP TABLE IF EXISTS `item-activity`;
  865. /*!40101 SET @saved_cs_client = @@character_set_client */;
  866. /*!40101 SET character_set_client = utf8 */;
  867. CREATE TABLE `item-activity` (
  868. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  869. `uri` varchar(255) DEFAULT NULL,
  870. `uri-id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-uri table entry that contains the item uri',
  871. `uri-hash` varchar(80) NOT NULL DEFAULT '' COMMENT 'RIPEMD-128 hash from uri',
  872. `activity` smallint(5) unsigned NOT NULL DEFAULT '0',
  873. PRIMARY KEY (`id`),
  874. UNIQUE KEY `uri-hash` (`uri-hash`),
  875. KEY `uri` (`uri`(191)),
  876. KEY `uri-id` (`uri-id`)
  877. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='Activities for items';
  878. /*!40101 SET character_set_client = @saved_cs_client */;
  879. --
  880. -- Dumping data for table `item-activity`
  881. --
  882. LOCK TABLES `item-activity` WRITE;
  883. /*!40000 ALTER TABLE `item-activity` DISABLE KEYS */;
  884. INSERT INTO `item-activity` VALUES (1,NULL,5,'5',0),(2,NULL,8,'8',0);
  885. /*!40000 ALTER TABLE `item-activity` ENABLE KEYS */;
  886. UNLOCK TABLES;
  887. --
  888. -- Table structure for table `item-content`
  889. --
  890. DROP TABLE IF EXISTS `item-content`;
  891. /*!40101 SET @saved_cs_client = @@character_set_client */;
  892. /*!40101 SET character_set_client = utf8 */;
  893. CREATE TABLE `item-content` (
  894. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  895. `uri` varchar(255) DEFAULT NULL,
  896. `uri-id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the item-uri table entry that contains the item uri',
  897. `uri-plink-hash` varchar(80) NOT NULL DEFAULT '' COMMENT 'RIPEMD-128 hash from uri',
  898. `title` varchar(255) NOT NULL DEFAULT '' COMMENT 'item title',
  899. `content-warning` varchar(255) NOT NULL DEFAULT '',
  900. `body` mediumtext COMMENT 'item body content',
  901. `location` varchar(255) NOT NULL DEFAULT '' COMMENT 'text location where this item originated',
  902. `coord` varchar(255) NOT NULL DEFAULT '' COMMENT 'longitude/latitude pair representing location where this item originated',
  903. `language` text COMMENT 'Language information about this post',
  904. `app` varchar(255) NOT NULL DEFAULT '' COMMENT 'application which generated this item',
  905. `rendered-hash` varchar(32) NOT NULL DEFAULT '',
  906. `rendered-html` mediumtext COMMENT 'item.body converted to html',
  907. `object-type` varchar(100) NOT NULL DEFAULT '' COMMENT 'ActivityStreams object type',
  908. `object` text COMMENT 'JSON encoded object structure unless it is an implied object (normal post)',
  909. `target-type` varchar(100) NOT NULL DEFAULT '' COMMENT 'ActivityStreams target type if applicable (URI)',
  910. `target` text COMMENT 'JSON encoded target structure if used',
  911. `plink` varchar(255) NOT NULL DEFAULT '' COMMENT 'permalink or URL to a displayable copy of the message at its source',
  912. `verb` varchar(100) NOT NULL DEFAULT '' COMMENT 'ActivityStreams verb',
  913. PRIMARY KEY (`id`),
  914. UNIQUE KEY `uri-plink-hash` (`uri-plink-hash`),
  915. KEY `uri` (`uri`(191)),
  916. KEY `uri-id` (`uri-id`)
  917. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COMMENT='Content for all posts';
  918. /*!40101 SET character_set_client = @saved_cs_client */;
  919. --
  920. -- Dumping data for table `item-content`
  921. --
  922. LOCK TABLES `item-content` WRITE;
  923. /*!40000 ALTER TABLE `item-content` DISABLE KEYS */;
  924. INSERT INTO `item-content` VALUES (1,NULL,1,'1','','','This is a public test posting.','','','{\"en\":0.40678571428571,\"la\":0.30309523809524,\"fr\":0.28404761904762}','','80624d4b29c199dbace71f914601a0ff','This is a public test posting.','http://activitystrea.ms/schema/1.0/note','','','','http://192.168.22.10/display/930bb26b-205b-f01c-e722-bc8141142783','http://activitystrea.ms/schema/1.0/post'),(2,NULL,2,'2','','','This is a posting to group 1.','','','{\"en\":0.47093333333333,\"sk\":0.28946666666667,\"lt\":0.27453333333333}','','90dde7ca9354eaef06d3b9101fb662fd','This is a posting to group 1.','http://activitystrea.ms/schema/1.0/note','','','','http://192.168.22.10/display/930bb26b-125b-f01c-fe10-e5f035205082','http://activitystrea.ms/schema/1.0/post'),(3,NULL,3,'3','','','friendica 2 checking in.','','','{\"tl\":0.28466666666667,\"en\":0.2805,\"nl\":0.248}','','abf89282dfe1dd467eaeb4628e7406f3','friendica 2 checking in.','http://activitystrea.ms/schema/1.0/comment','','','','http://192.168.22.10/display/930bb26b-155b-f01d-60ee-5ee161000810','http://activitystrea.ms/schema/1.0/post'),(4,NULL,4,'4','','','friendica 4 testing :-)','','','{\"en\":0.36020833333333,\"nl\":0.28479166666667,\"tl\":0.27229166666667}','','130e6cf769f1f7b5f511426531a9d288','friendica 4 testing <img class=\"smiley\" src=\"http://192.168.22.10/images/smiley-smile.gif\" alt=\":-)\" title=\":-)\" />','http://activitystrea.ms/schema/1.0/comment','','','','http://192.168.22.10/display/930bb26b-135b-f01d-8e3d-8cc050176928','http://activitystrea.ms/schema/1.0/post'),(5,NULL,6,'6','','','Nice to have you here :-D','','','{\"en\":0.46787878787879,\"cs\":0.30257575757576,\"da\":0.28651515151515}','','af24ae13dd60eaa4c6613750c976ac80','Nice to have you here <img class=\"smiley\" src=\"http://192.168.22.10/images/smiley-laughing.gif\" alt=\":-D\" title=\":-D\" />','http://activitystrea.ms/schema/1.0/comment','','','','http://192.168.22.10/display/930bb26b-555b-f01f-66c7-ab6175377664','http://activitystrea.ms/schema/1.0/post'),(6,NULL,7,'7','','','Testing...','','','{\"en\":0.65380952380952,\"nl\":0.46095238095238,\"et\":0.40190476190476}','','9d770c909c2c69b09eae2372c4cf405d','Testing...','http://activitystrea.ms/schema/1.0/note','','','','http://192.168.22.10/display/930bb26b-195b-f01f-925f-1a4363126542','http://activitystrea.ms/schema/1.0/post');
  925. /*!40000 ALTER TABLE `item-content` ENABLE KEYS */;
  926. UNLOCK TABLES;
  927. --
  928. -- Table structure for table `item-delivery-data`
  929. --
  930. DROP TABLE IF EXISTS `item-delivery-data`;
  931. /*!40101 SET @saved_cs_client = @@character_set_client */;
  932. /*!40101 SET character_set_client = utf8 */;
  933. CREATE TABLE `item-delivery-data` (
  934. `iid` int(10) unsigned NOT NULL COMMENT 'Item id',
  935. `postopts` text COMMENT 'External post connectors add their network name to this comma-separated string to identify that they should be delivered to these networks during delivery',
  936. `inform` mediumtext COMMENT 'Additional receivers of the linked item',
  937. PRIMARY KEY (`iid`)
  938. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Delivery data for items';
  939. /*!40101 SET character_set_client = @saved_cs_client */;
  940. --
  941. -- Dumping data for table `item-delivery-data`
  942. --
  943. LOCK TABLES `item-delivery-data` WRITE;
  944. /*!40000 ALTER TABLE `item-delivery-data` DISABLE KEYS */;
  945. /*!40000 ALTER TABLE `item-delivery-data` ENABLE KEYS */;
  946. UNLOCK TABLES;
  947. --
  948. -- Table structure for table `item-uri`
  949. --
  950. DROP TABLE IF EXISTS `item-uri`;
  951. /*!40101 SET @saved_cs_client = @@character_set_client */;
  952. /*!40101 SET character_set_client = utf8 */;
  953. CREATE TABLE `item-uri` (
  954. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  955. `uri` varbinary(255) NOT NULL COMMENT 'URI of an item',
  956. `guid` varbinary(255) DEFAULT NULL COMMENT 'A unique identifier for an item',
  957. PRIMARY KEY (`id`),
  958. UNIQUE KEY `uri` (`uri`),
  959. KEY `guid` (`guid`)
  960. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='URI and GUID for items';
  961. /*!40101 SET character_set_client = @saved_cs_client */;
  962. --
  963. -- Dumping data for table `item-uri`
  964. --
  965. LOCK TABLES `item-uri` WRITE;
  966. /*!40000 ALTER TABLE `item-uri` DISABLE KEYS */;
  967. INSERT INTO `item-uri` VALUES (1,_binary 'http://192.168.22.10/objects/930bb26b-205b-f01c-e722-bc8141142783',_binary '930bb26b-205b-f01c-e722-bc8141142783'),(2,_binary 'http://192.168.22.10/objects/930bb26b-125b-f01c-fe10-e5f035205082',_binary '930bb26b-125b-f01c-fe10-e5f035205082'),(3,_binary 'http://192.168.22.10/objects/930bb26b-155b-f01d-60ee-5ee161000810',_binary '930bb26b-155b-f01d-60ee-5ee161000810'),(4,_binary 'http://192.168.22.10/objects/930bb26b-135b-f01d-8e3d-8cc050176928',_binary '930bb26b-135b-f01d-8e3d-8cc050176928'),(5,_binary 'http://192.168.22.10/objects/930bb26b-205b-f01f-5a43-237373720429',_binary '930bb26b-765b-f01f-5a43-22a585408489'),(6,_binary 'http://192.168.22.10/objects/930bb26b-555b-f01f-66c7-ab6175377664',_binary '930bb26b-555b-f01f-66c7-ab6175377664'),(7,_binary 'http://192.168.22.10/objects/930bb26b-195b-f01f-925f-1a4363126542',_binary '930bb26b-195b-f01f-925f-1a4363126542'),(8,_binary 'http://192.168.22.10/objects/930bb26b-205b-f01f-5a43-237373720429#Like',_binary '930bb26b-765b-f01f-5a43-22a585408489');
  968. /*!40000 ALTER TABLE `item-uri` ENABLE KEYS */;
  969. UNLOCK TABLES;
  970. --
  971. -- Table structure for table `locks`
  972. --
  973. DROP TABLE IF EXISTS `locks`;
  974. /*!40101 SET @saved_cs_client = @@character_set_client */;
  975. /*!40101 SET character_set_client = utf8 */;
  976. CREATE TABLE `locks` (
  977. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  978. `name` varchar(128) NOT NULL DEFAULT '',
  979. `locked` tinyint(1) NOT NULL DEFAULT '0',
  980. `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Process ID',
  981. `expires` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of cache expiration',
  982. PRIMARY KEY (`id`),
  983. KEY `name_expires` (`name`,`expires`)
  984. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  985. /*!40101 SET character_set_client = @saved_cs_client */;
  986. --
  987. -- Dumping data for table `locks`
  988. --
  989. LOCK TABLES `locks` WRITE;
  990. /*!40000 ALTER TABLE `locks` DISABLE KEYS */;
  991. /*!40000 ALTER TABLE `locks` ENABLE KEYS */;
  992. UNLOCK TABLES;
  993. --
  994. -- Table structure for table `mail`
  995. --
  996. DROP TABLE IF EXISTS `mail`;
  997. /*!40101 SET @saved_cs_client = @@character_set_client */;
  998. /*!40101 SET character_set_client = utf8 */;
  999. CREATE TABLE `mail` (
  1000. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  1001. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Owner User id',
  1002. `guid` varchar(255) NOT NULL DEFAULT '' COMMENT 'A unique identifier for this private message',
  1003. `from-name` varchar(255) NOT NULL DEFAULT '' COMMENT 'name of the sender',
  1004. `from-photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'contact photo link of the sender',
  1005. `from-url` varchar(255) NOT NULL DEFAULT '' COMMENT 'profile linke of the sender',
  1006. `contact-id` varchar(255) NOT NULL DEFAULT '' COMMENT 'contact.id',
  1007. `convid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'conv.id',
  1008. `title` varchar(255) NOT NULL DEFAULT '',
  1009. `body` mediumtext,
  1010. `seen` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'if message visited it is 1',
  1011. `reply` tinyint(1) NOT NULL DEFAULT '0',
  1012. `replied` tinyint(1) NOT NULL DEFAULT '0',
  1013. `unknown` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'if sender not in the contact table this is 1',
  1014. `uri` varchar(255) NOT NULL DEFAULT '',
  1015. `parent-uri` varchar(255) NOT NULL DEFAULT '',
  1016. `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'creation time of the private message',
  1017. PRIMARY KEY (`id`),
  1018. KEY `uid_seen` (`uid`,`seen`),
  1019. KEY `convid` (`convid`),
  1020. KEY `uri` (`uri`(64)),
  1021. KEY `parent-uri` (`parent-uri`(64)),
  1022. KEY `contactid` (`contact-id`(32))
  1023. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='private messages';
  1024. /*!40101 SET character_set_client = @saved_cs_client */;
  1025. --
  1026. -- Dumping data for table `mail`
  1027. --
  1028. LOCK TABLES `mail` WRITE;
  1029. /*!40000 ALTER TABLE `mail` DISABLE KEYS */;
  1030. /*!40000 ALTER TABLE `mail` ENABLE KEYS */;
  1031. UNLOCK TABLES;
  1032. --
  1033. -- Table structure for table `mailacct`
  1034. --
  1035. DROP TABLE IF EXISTS `mailacct`;
  1036. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1037. /*!40101 SET character_set_client = utf8 */;
  1038. CREATE TABLE `mailacct` (
  1039. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'sequential ID',
  1040. `uid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'User id',
  1041. `server` varchar(255) NOT NULL DEFAULT '',
  1042. `port` smallint(5) unsigned NOT NULL DEFAULT '0',
  1043. `ssltype` varchar(16) NOT NULL DEFAULT '',
  1044. `mailbox` varchar(255) NOT NULL DEFAULT '',
  1045. `user` varchar(255) NOT NULL DEFAULT '',
  1046. `pass` text,
  1047. `reply_to` varchar(255) NOT NULL DEFAULT '',
  1048. `action` tinyint(3) unsigned NOT NUL