2015-02-02 22:58:08 +01:00
-- MySQL dump 10.13 Distrib 5.5.40, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: friendica
-- ------------------------------------------------------
-- Server version 5.5.40-0ubuntu0.12.04.1
/* !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 */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET NAMES utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
/* !40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */ ;
/* !40103 SET TIME_ZONE='+00:00' */ ;
/* !40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */ ;
/* !40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */ ;
/* !40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ ;
/* !40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ ;
--
-- Current Database: `friendica`
--
2017-04-16 16:04:38 +02:00
CREATE DATABASE /* !32312 IF NOT EXISTS */ ` friendica ` /* !40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */ ;
2015-02-02 22:58:08 +01:00
USE ` friendica ` ;
--
-- Table structure for table `addon`
--
DROP TABLE IF EXISTS ` addon ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` addon ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` version ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` installed ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` hidden ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` timestamp ` bigint ( 20 ) NOT NULL DEFAULT ' 0 ' ,
` plugin_admin ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `addon`
--
LOCK TABLES ` addon ` WRITE ;
/* !40000 ALTER TABLE `addon` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `addon` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `attach`
--
DROP TABLE IF EXISTS ` attach ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` attach ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` hash ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` filename ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` filetype ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` filesize ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` data ` longblob NOT NULL ,
2017-04-11 23:00:45 +02:00
` created ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` edited ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` allow_cid ` mediumtext NOT NULL ,
` allow_gid ` mediumtext NOT NULL ,
` deny_cid ` mediumtext NOT NULL ,
` deny_gid ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `attach`
--
LOCK TABLES ` attach ` WRITE ;
/* !40000 ALTER TABLE `attach` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `attach` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `auth_codes`
--
DROP TABLE IF EXISTS ` auth_codes ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` auth_codes ` (
` id ` varchar ( 40 ) NOT NULL ,
` client_id ` varchar ( 20 ) NOT NULL DEFAULT ' ' ,
` redirect_uri ` varchar ( 200 ) NOT NULL DEFAULT ' ' ,
` expires ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` scope ` varchar ( 250 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `auth_codes`
--
LOCK TABLES ` auth_codes ` WRITE ;
/* !40000 ALTER TABLE `auth_codes` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `auth_codes` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `cache`
--
DROP TABLE IF EXISTS ` cache ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` cache ` (
` k ` varchar ( 255 ) NOT NULL ,
` v ` text NOT NULL ,
2017-04-11 23:00:45 +02:00
` updated ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
PRIMARY KEY ( ` k ` ) ,
KEY ` updated ` ( ` updated ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `cache`
--
LOCK TABLES ` cache ` WRITE ;
/* !40000 ALTER TABLE `cache` DISABLE KEYS */ ;
INSERT INTO ` cache ` VALUES ( ' probe_url:0:friendica1@friendica.dev ' , ' a:15:{s:4:\"name\";s:10:\"friendica1\";s:4:\"nick\";s:10:\"friendica1\";s:3:\"url\";s:39:\"http://friendica.dev/profile/friendica1\";s:4:\"addr\";N;s:5:\"batch\";N;s:6:\"notify\";s:43:\"http://friendica.dev/dfrn_notify/friendica1\";s:4:\"poll\";s:41:\"http://friendica.dev/dfrn_poll/friendica1\";s:7:\"request\";s:44:\"http://friendica.dev/dfrn_request/friendica1\";s:7:\"confirm\";s:44:\"http://friendica.dev/dfrn_confirm/friendica1\";s:4:\"poco\";s:36:\"http://friendica.dev/poco/friendica1\";s:5:\"photo\";s:68:\"http://192.168.22.10/photo/profile/2.jpg?rev=2015-02-02+12%3A02%3A11\";s:8:\"priority\";N;s:7:\"network\";s:4:\"dfrn\";s:5:\"alias\";N;s:6:\"pubkey\";N;} ' , ' 2015-02-02 18:30:00 ' ) , ( ' probe_url:0:friendica4@friendica.dev ' , ' a:15:{s:4:\"name\";s:10:\"friendica4\";s:4:\"nick\";s:10:\"friendica4\";s:3:\"url\";s:39:\"http://friendica.dev/profile/friendica4\";s:4:\"addr\";N;s:5:\"batch\";N;s:6:\"notify\";s:43:\"http://friendica.dev/dfrn_notify/friendica4\";s:4:\"poll\";s:41:\"http://friendica.dev/dfrn_poll/friendica4\";s:7:\"request\";s:44:\"http://friendica.dev/dfrn_request/friendica4\";s:7:\"confirm\";s:44:\"http://friendica.dev/dfrn_confirm/friendica4\";s:4:\"poco\";s:36:\"http://friendica.dev/poco/friendica4\";s:5:\"photo\";s:68:\"http://192.168.22.10/photo/profile/6.jpg?rev=2015-02-02+12%3A04%3A29\";s:8:\"priority\";N;s:7:\"network\";s:4:\"dfrn\";s:5:\"alias\";N;s:6:\"pubkey\";N;} ' , ' 2015-02-02 18:32:24 ' ) , ( ' probe_url:0:http://192.168.22.10/profile/friendica1 ' , ' a:15:{s:4:\"name\";s:10:\"friendica1\";s:4:\"nick\";s:10:\"friendica1\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica1\";s:4:\"addr\";N;s:5:\"batch\";N;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:5:\"photo\";s:68:\"http://192.168.22.10/photo/profile/2.jpg?rev=2015-02-02+12%3A02%3A11\";s:8:\"priority\";N;s:7:\"network\";s:4:\"dfrn\";s:5:\"alias\";N;s:6:\"pubkey\";N;} ' , ' 2015-02-02 18:49:11 ' ) , ( ' probe_url:0:http://192.168.22.10/profile/friendica2 ' , ' a:15:{s:4:\"name\";s:10:\"friendica2\";s:4:\"nick\";s:10:\"friendica2\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica2\";s:4:\"addr\";N;s:5:\"batch\";N;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:5:\"photo\";s:68:\"http://192.168.22.10/photo/profile/3.jpg?rev=2015-02-02+12%3A02%3A40\";s:8:\"priority\";N;s:7:\"network\";s:4:\"dfrn\";s:5:\"alias\";N;s:6:\"pubkey\";N;} ' , ' 2015-02-02 18:40:43 ' ) , ( ' probe_url:0:http://192.168.22.10/profile/friendica4 ' , ' a:15:{s:4:\"name\";s:10:\"friendica4\";s:4:\"nick\";s:10:\"friendica4\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica4\";s:4:\"addr\";N;s:5:\"batch\";N;s:6:\"notify\";s:43:\"http://192.168.22.10/dfrn_notify/friendica4\";s:4:\"poll\";s:41:\"http://192.168.22.10/dfrn_poll/friendica4\";s:7:\"request\";s:44:\"http://192.168.22.10/dfrn_request/friendica4\";s:7:\"confirm\";s:44:\"http://192.168.22.10/dfrn_confirm/friendica4\";s:4:\"poco\";s:36:\"http://192.168.22.10/poco/friendica4\";s:5:\"photo\";s:68:\"http://192.168.22.10/photo/profile/6.jpg?rev=2015-02-02+12%3A04%3A29\";s:8:\"priority\";N;s:7:\"network\";s:4:\"dfrn\";s:5:\"alias\";N;s:6:\"pubkey\";N;} ' , ' 2015-02-02 18:45:05 ' ) , ( ' probe_url:0:http://192.168.22.10/profile/friendica5 ' , ' a:15:{s:4:\"name\";s:10:\"friendica5\";s:4:\"nick\";s:10:\"friendica5\";s:3:\"url\";s:39:\"http://192.168.22.10/profile/friendica5\";s:4:\"addr\";N;s:5:\"batch\";N;s:6:\"notify\";s:43:\"http://192.168.22.10/dfrn_notify/friendica5\";s:4:\"poll\";s:41:\"http://192.168.22.10/dfrn_poll/friendica
/* !40000 ALTER TABLE `cache` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `challenge`
--
DROP TABLE IF EXISTS ` challenge ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` challenge ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` challenge ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` dfrn - id ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` expire ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` type ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` last_update ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 13 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `challenge`
--
LOCK TABLES ` challenge ` WRITE ;
/* !40000 ALTER TABLE `challenge` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `challenge` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `clients`
--
DROP TABLE IF EXISTS ` clients ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` clients ` (
` client_id ` varchar ( 20 ) NOT NULL ,
` pw ` varchar ( 20 ) NOT NULL DEFAULT ' ' ,
` redirect_uri ` varchar ( 200 ) NOT NULL DEFAULT ' ' ,
` name ` text ,
` icon ` text ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` client_id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `clients`
--
LOCK TABLES ` clients ` WRITE ;
/* !40000 ALTER TABLE `clients` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `clients` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `config`
--
DROP TABLE IF EXISTS ` config ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` config ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` cat ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` k ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` v ` text NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` cat_k ` ( ` cat ` ( 30 ) , ` k ` ( 30 ) )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 11 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `config`
--
LOCK TABLES ` config ` WRITE ;
/* !40000 ALTER TABLE `config` DISABLE KEYS */ ;
INSERT INTO ` config ` VALUES ( 1 , ' system ' , ' url ' , ' http://192.168.22.10 ' ) , ( 2 , ' system ' , ' build ' , ' 1178 ' ) , ( 3 , ' system ' , ' temppath ' , ' /tmp ' ) , ( 4 , ' system ' , ' itemcache ' , ' /tmp/itemcache ' ) , ( 5 , ' system ' , ' lockpath ' , ' /tmp/lock ' ) , ( 6 , ' system ' , ' ostatus_last_poll ' , ' 1422903602 ' ) , ( 7 , ' system ' , ' last_expire_day ' , ' 2 ' ) , ( 8 , ' system ' , ' cache_last_cleared ' , ' 1422901802 ' ) , ( 9 , ' system ' , ' site_prvkey ' , ' -----BEGIN PRIVATE KEY-----\nMIICeQIBADANBgkqhkiG9w0BAQEFAASCAmMwggJfAgEAAoGBAL0EwaczRvO+Cgts\nHUCJde+q53ynJmuc8bHYhBRJ5hYQA/20Gnf6LP5KFXgezl1x8AmcGe0UYUT/0jjW\naL6m20aEAEXXdCk33BubHkU+N6drb0fDa5mO4TQ5dwiL+9njvwoepAe8vzfV6bL7\nMNiLTMRyOZZQ8amT2z9/IP1b69BbAgMBAAECgYEAti1obDtKzk/CpKGuS+5w4e9J\nr2X27M9WUAALxPY4sdj7z8GPpUVVqj1DFgQzB/Nx1AFFJ7B106fxOODGEcMGIPe6\nfcP36DzgW83htO73olosOq1qhKOiElqMbHHUQ7hyNxjKZPgAAN9TfRGhjGevGl8r\nfc5qDsLGu+d8o7j5ArkCQQDd4HEkBr0N5DiGR0J4eNVbnq/meHTDRCfUS4wjmMh1\nP7RD3R7hkiP92AIySVOnSWTWiniZ8mdfNyKEwtWMvK3VAkEA2hamKv4hMdczrhTH\nBa5ovpa3/uh1yqAwf/CldVVDAvuhgGRLw9kLsT23IpmjjLyIcqhGYLMh+UjgSQcj\nrlYtbwJBAKAS902YlvjYuHcYHjqwYq3RFPLf4M2n9FxTjO15otYEedekRk1TlCfl\nmeARywqcBuZJzKy0mCO3sW266zq4PWkCQQC8iB3oRr7Nhlt/3yhaKfcU49h1/eFu\nZGLpB1ESCL4ggwWPp6SzzxtDgrWhrK3tSUKv0/bbO6BgD3cMyqY23PrzAkEAtdlU\npnK0A8CRKYgSl5hq6YRVdrTc37/2up0nVP7Mm/zTsPQaEpeNh8JXPk6nO/s9Zgyt\nTSuUPQy0zj/RY8u8vw==\n-----END PRIVATE KEY-----\n ' ) , ( 10 , ' system ' , ' site_pubkey ' , ' -----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9BMGnM0bzvgoLbB1AiXXvqud8\npyZrnPGx2IQUSeYWEAP9tBp3+iz+ShV4Hs5dcfAJnBntFGFE/9I41mi+pttGhABF\n13QpN9wbmx5FPjena29Hw2uZjuE0OXcIi/vZ478KHqQHvL831emy+zDYi0zEcjmW\nUPGpk9s/fyD9W+vQWwIDAQAB\n-----END PUBLIC KEY-----\n ' ) ;
/* !40000 ALTER TABLE `config` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `contact`
--
DROP TABLE IF EXISTS ` contact ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` contact ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
2017-04-11 23:00:45 +02:00
` created ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` self ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` remote_self ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` rel ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` duplex ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` network ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` nick ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` location ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` about ` text NOT NULL ,
` keywords ` text NOT NULL ,
` gender ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
` attag ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` photo ` text NOT NULL ,
` thumb ` text NOT NULL ,
` micro ` text NOT NULL ,
` site - pubkey ` text NOT NULL ,
` issued - id ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` dfrn - id ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` url ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` nurl ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` addr ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` alias ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` pubkey ` text NOT NULL ,
` prvkey ` text NOT NULL ,
` batch ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` request ` text NOT NULL ,
` notify ` text NOT NULL ,
` poll ` text NOT NULL ,
` confirm ` text NOT NULL ,
` poco ` text NOT NULL ,
` aes_allow ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` ret - aes ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` usehub ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` subhub ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` hub - verify ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2017-04-11 23:00:45 +02:00
` last - update ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` success_update ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` name - date ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` uri - date ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` avatar - date ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` term - date ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` priority ` tinyint ( 3 ) NOT NULL DEFAULT ' 0 ' ,
` blocked ` tinyint ( 1 ) NOT NULL DEFAULT ' 1 ' ,
` readonly ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` writable ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` forum ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` prv ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` hidden ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` archive ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` pending ` tinyint ( 1 ) NOT NULL DEFAULT ' 1 ' ,
` rating ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` reason ` text NOT NULL ,
` closeness ` tinyint ( 2 ) NOT NULL DEFAULT ' 99 ' ,
` info ` mediumtext NOT NULL ,
` profile - id ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` bdyear ` varchar ( 4 ) NOT NULL DEFAULT ' ' ,
2017-04-11 23:00:45 +02:00
` bd ` date NOT NULL DEFAULT ' 0001-01-01 ' ,
2015-02-02 22:58:08 +01:00
` notify_new_posts ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` fetch_further_information ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` ffi_keyword_blacklist ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` uid ` ( ` uid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 19 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `contact`
--
LOCK TABLES ` contact ` WRITE ;
/* !40000 ALTER TABLE `contact` DISABLE KEYS */ ;
2017-04-11 23:00:45 +02:00
INSERT INTO ` contact ` VALUES ( 1 , 1 , ' 2015-02-02 11:24:17 ' , 1 , 0 , 0 , 0 , ' ' , ' admin ' , ' admin ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/1.jpg ' , ' http://192.168.22.10/photo/avatar/1.jpg ' , ' http://192.168.22.10/photo/micro/1.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/admin ' , ' http://192.168.22.10/profile/admin ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' 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 ' , ' 2015-02-02 11:24:17 ' , ' 2015-02-02 11:24:17 ' , ' 2015-02-02 11:24:17 ' , ' 0001-01-01 00:00:00 ' , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 0 , ' ' , 0 , ' ' , ' 0001-01-01 ' , 0 , 0 , ' ' ) , ( 2 , 2 , ' 2015-02-02 12:02:11 ' , 1 , 0 , 0 , 0 , ' ' , ' friendica1 ' , ' friendica1 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/2.jpg ' , ' http://192.168.22.10/photo/avatar/2.jpg ' , ' http://192.168.22.10/photo/micro/2.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/friendica1 ' , ' http://192.168.22.10/profile/friendica1 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' 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 ' , ' 0001-01-01 00:00:00 ' , ' 2015-02-02 12:02:11 ' , ' 2015-02-02 12:02:11 ' , ' 2015-02-02 12:02:11 ' , ' 0001-01-01 00:00:00 ' , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 0 , ' ' , 0 , ' ' , ' 0001-01-01 ' , 0 , 0 , ' ' ) , ( 3 , 3 , ' 2015-02-02 12:02:40 ' , 1 , 0 , 0 , 0 , ' ' , ' friendica2 ' , ' friendica2 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/3.jpg ' , ' http://192.168.22.10/photo/avatar/3.jpg ' , ' http://192.168.22.10/photo/micro/3.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/friendica2 ' , ' http://192.168.22.10/profile/friendica2 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/dfrn_request/friendica2 ' , ' http://192.168.22.10/dfrn_notify/friendica2 ' , ' http://192.168.22.10/dfrn_poll/friendica2 ' , ' http://192.168.22.10/dfrn_confirm/friendica2 ' , ' http://192.168.22.10/poco/friendica2 ' , 0 , 0 , 0 , 0 , ' ' , ' 0001-01-01 00:00:00 ' , ' 0001-01-01 00:00:00 ' , ' 2015-02-02 12:02:40 ' , ' 2015-02-02 12:02:40 ' , ' 2015-02-02 12:02:40 ' , ' 0001-01-01 00:00:00 ' , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 0 , ' ' , 0 , ' ' , ' 0001-01-01 ' , 0 , 0 , ' ' ) , ( 4 , 4 , ' 2015-02-02 12:03:07 ' , 1 , 0 , 0 , 0 , ' ' , ' friendica3 ' , ' friendica3 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/4.jpg ' , ' http://192.168.22.10/photo/avatar/4.jpg ' , ' http://192.168.22.10/photo/micro/4.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/friendica3 ' , ' http://192.168.22.10/profile/friendica3 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/dfrn_request/friendica3 ' , ' http://192.168.22.10/dfrn_notify/friendica3 ' , ' http://192.168.22.10/dfrn_poll/friendica3 ' , ' http://192.168.22.10/dfrn_confirm/friendica3 ' , ' http://192.168.22.10/poco/friendica3 ' , 0 , 0 , 0 , 0 , ' ' , ' 0001-01-01 00:00:00 ' , ' 0001-01-01 00:00:00 ' , ' 2015-02-02 12:03:07 ' , ' 2015-02-02 12:03:07 ' , ' 2015-02-02 12:03:07 ' , ' 0001-01-01 00:00:00 ' , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 0 , ' ' , 0 , ' ' , ' 0001-01-01 ' , 0 , 0 , ' ' ) , ( 5 , 5 , ' 2015-02-02 12:04:06 ' , 1 , 0 , 0 , 0 , ' ' , ' friendica5 ' , ' friendica5 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/5.jpg ' , ' http://192.168.22.10/photo/avatar/5.jpg ' , ' http://192.168.22.10/photo/micro/5.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/friendica5 ' , ' http://192.168.22.10/profile/friendica5 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/dfrn_request/friendica5 ' , ' http://192.168.22.10/dfrn_notify/friendica5 ' , ' http://192.168.22.10/dfrn_poll/friendica5 ' , ' http://192.168.22.10/dfrn_confirm/friendica5 ' , ' http://192.168.22.10/poco/friendica5 ' , 0 , 0 , 0 , 0 , ' ' , ' 0001-01-01 00:00:00 ' , ' 0001-01-01 00:00:00 ' , ' 2015-02-02 12:04:06 ' , ' 2015-02-02 12:04:06 ' , ' 2015-02-02 12:04:06 ' , ' 0001-01-01 00:00:00 ' , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 0 , ' ' , 0 , ' ' , ' 0001-01-01 ' , 0 , 0 , ' ' ) , ( 6 , 6 , ' 2015-02-02 12:04:29 ' , 1 , 0 , 0 , 0 , ' ' , ' friendica4 ' , ' friendica4 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/photo/profile/6.jpg ' , ' http://192.168.22.10/photo/avatar/6.jpg ' , ' http://192.168.22.10/photo/micro/6.jpg ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/profile/friendica4 ' , ' http://192.168.22.10/profile/friendica4 ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' http://192.168.22.10/dfrn_request/friendica4 ' , ' http://192.168.22.10/dfrn_notify/friendica4 ' , ' http://192.168.22.10/dfrn_poll/friendic
2015-02-02 22:58:08 +01:00
/* !40000 ALTER TABLE `contact` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `conv`
--
DROP TABLE IF EXISTS ` conv ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` conv ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` guid ` varchar ( 64 ) NOT NULL DEFAULT ' ' ,
` recips ` mediumtext NOT NULL ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` creator ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2017-04-11 23:00:45 +02:00
` created ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` updated ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` subject ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` uid ` ( ` uid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `conv`
--
LOCK TABLES ` conv ` WRITE ;
/* !40000 ALTER TABLE `conv` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `conv` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `deliverq`
--
DROP TABLE IF EXISTS ` deliverq ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
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 ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `deliverq`
--
LOCK TABLES ` deliverq ` WRITE ;
/* !40000 ALTER TABLE `deliverq` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `deliverq` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `dsprphotoq`
--
DROP TABLE IF EXISTS ` dsprphotoq ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
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 ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `dsprphotoq`
--
LOCK TABLES ` dsprphotoq ` WRITE ;
/* !40000 ALTER TABLE `dsprphotoq` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `dsprphotoq` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `event`
--
DROP TABLE IF EXISTS ` event ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` event ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` cid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` uri ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2017-04-11 23:00:45 +02:00
` created ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` edited ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` start ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
` finish ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` summary ` text NOT NULL ,
` desc ` text NOT NULL ,
` location ` text NOT NULL ,
` type ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` nofinish ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` adjust ` tinyint ( 1 ) NOT NULL DEFAULT ' 1 ' ,
` ignore ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` allow_cid ` mediumtext NOT NULL ,
` allow_gid ` mediumtext NOT NULL ,
` deny_cid ` mediumtext NOT NULL ,
` deny_gid ` mediumtext NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` uid ` ( ` uid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `event`
--
LOCK TABLES ` event ` WRITE ;
/* !40000 ALTER TABLE `event` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `event` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `fcontact`
--
DROP TABLE IF EXISTS ` fcontact ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` fcontact ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` url ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` photo ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` request ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` nick ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` addr ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` batch ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` notify ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` poll ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` confirm ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` priority ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` network ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
` alias ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` pubkey ` text NOT NULL ,
2017-04-11 23:00:45 +02:00
` updated ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
PRIMARY KEY ( ` id ` ) ,
KEY ` addr ` ( ` addr ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `fcontact`
--
LOCK TABLES ` fcontact ` WRITE ;
/* !40000 ALTER TABLE `fcontact` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `fcontact` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `ffinder`
--
DROP TABLE IF EXISTS ` ffinder ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
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 ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `ffinder`
--
LOCK TABLES ` ffinder ` WRITE ;
/* !40000 ALTER TABLE `ffinder` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ffinder` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `fserver`
--
DROP TABLE IF EXISTS ` fserver ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` fserver ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` server ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` posturl ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` key ` text NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` server ` ( ` server ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `fserver`
--
LOCK TABLES ` fserver ` WRITE ;
/* !40000 ALTER TABLE `fserver` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `fserver` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `fsuggest`
--
DROP TABLE IF EXISTS ` fsuggest ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` fsuggest ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` cid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` url ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` request ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` photo ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` note ` text NOT NULL ,
2017-04-11 23:00:45 +02:00
` created ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
PRIMARY KEY ( ` id ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `fsuggest`
--
LOCK TABLES ` fsuggest ` WRITE ;
/* !40000 ALTER TABLE `fsuggest` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `fsuggest` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `gcign`
--
DROP TABLE IF EXISTS ` gcign ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` gcign ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` gcid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` uid ` ( ` uid ` ) ,
KEY ` gcid ` ( ` gcid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `gcign`
--
LOCK TABLES ` gcign ` WRITE ;
/* !40000 ALTER TABLE `gcign` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `gcign` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `gcontact`
--
DROP TABLE IF EXISTS ` gcontact ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` gcontact ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` url ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` nurl ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` photo ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` connect ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2017-04-11 23:00:45 +02:00
` updated ` datetime DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
` location ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` about ` text NOT NULL ,
` keywords ` text NOT NULL ,
` gender ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
` network ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` nurl ` ( ` nurl ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 157 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `gcontact`
--
LOCK TABLES ` gcontact ` WRITE ;
/* !40000 ALTER TABLE `gcontact` DISABLE KEYS */ ;
2017-04-11 23:00:45 +02:00
INSERT INTO ` gcontact ` VALUES ( 1 , ' Keith ' , ' https://friendika.me4.it/profile/keith ' , ' http://friendika.me4.it/profile/keith ' , ' https://friendika.me4.it/photo/custom/300/1.jpg?rev=2014-07-27+19%3A34%3A36 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 2 , ' Manuel Freiria ' , ' https://friendika.me4.it/profile/manolofreiria ' , ' http://friendika.me4.it/profile/manolofreiria ' , ' https://friendika.me4.it/photo/custom/300/254.jpg?rev=2014-09-06+23%3A58%3A50 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 3 , ' José Manuel Goig ' , ' https://friendika.me4.it/profile/jmgoig ' , ' http://friendika.me4.it/profile/jmgoig ' , ' https://friendika.me4.it/photo/custom/300/283.jpg?rev=2014-12-16+10%3A11%3A40 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 4 , ' Keith ' , ' https://friendica.eu/profile/support ' , ' http://friendica.eu/profile/support ' , ' https://friendica.eu/photo/custom/300/1.jpg?rev=2011-12-21+14%3A41%3A44 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 5 , ' Henrike Van Mortis ' , ' https://friendica.eu/profile/hvm ' , ' http://friendica.eu/profile/hvm ' , ' https://friendica.eu/photo/custom/300/250.jpg ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 6 , ' offene Ablage: nothing to hide ' , ' https://friendica.eu/profile/o2myfrdca01 ' , ' http://friendica.eu/profile/o2myfrdca01 ' , ' https://friendica.eu/photo/custom/300/259.jpg?rev=2012-02-16+16%3A49%3A37 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 7 , ' Friendica Theme Developers ' , ' https://friendica.eu/profile/ftdevs ' , ' http://friendica.eu/profile/ftdevs ' , ' https://friendica.eu/photo/custom/300/366.jpg?rev=2012-03-01+11%3A58%3A18 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 8 , ' Nepesh Hacker ' , ' https://friendica.eu/profile/arescorpio ' , ' http://friendica.eu/profile/arescorpio ' , ' https://friendica.eu/photo/custom/300/516.jpg?rev=2012-11-07+22%3A39%3A38 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 9 , ' Rolf Rupp ' , ' https://friendica.eu/profile/rcr ' , ' http://friendica.eu/profile/rcr ' , ' https://friendica.eu/photo/custom/300/841.jpg?rev=2014-01-09+22%3A15%3A09 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 10 , ' Daniel Steinbacher ' , ' https://friendica.eu/profile/damez ' , ' http://friendica.eu/profile/damez ' , ' https://friendica.eu/photo/custom/300/1791.jpg?rev=2015-01-15+16%3A49%3A29 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 11 , ' Pirate Times ' , ' https://friendica.eu/profile/piratetimes ' , ' http://friendica.eu/profile/piratetimes ' , ' https://friendica.eu/photo/custom/300/885.jpg?rev=2014-01-21+11%3A09%3A35 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 12 , ' Jacques ' , ' https://friendica.eu/profile/jacques ' , ' http://friendica.eu/profile/jacques ' , ' https://friendica.eu/photo/custom/300/907.jpg?rev=2015-01-15+14%3A37%3A37 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 13 , ' Montse Freire ' , ' https://friendica.eu/profile/auga09 ' , ' http://friendica.eu/profile/auga09 ' , ' https://friendica.eu/photo/custom/300/934.jpg?rev=2014-02-16+14%3A17%3A30 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 14 , ' oremus ' , ' https://friendica.eu/profile/oremus ' , ' http://friendica.eu/profile/oremus ' , ' https://friendica.eu/photo/custom/300/1073.jpg?rev=2014-04-29+15%3A09%3A50 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 15 , ' ppp ' , ' https://friendica.eu/profile/ppp ' , ' http://friendica.eu/profile/ppp ' , ' https://friendica.eu/photo/custom/300/1134.jpg?rev=2014-06-01+12%3A58%3A28 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 16 , ' Krin Bouch ' , ' https://friendica.eu/profile/krinbouch ' , ' http://friendica.eu/profile/krinbouch ' , ' https://friendica.eu/photo/custom/300/1471.jpg?rev=2014-09-20+14%3A18%3A24 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 17 , ' Miguel Menéndez ' , ' https://friendica.eu/profile/miguelmenendez ' , ' http://friendica.eu/profile/miguelmenendez ' , ' https://friendica.eu/photo/custom/300/1508.jpg?rev=2014-10-26+15%3A21%3A28 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 18 , ' Alexandre Pólvora ' , ' https://friendica.eu/profile/discomplex ' , ' http://friendica.eu/profile/discomplex ' , ' https://friendica.eu/photo/custom/300/1522.jpg?rev=2014-11-05+23%3A54%3A57 ' , ' ' , ' 0001-01-01 00:00:00 ' , ' ' , ' ' , ' ' , ' ' , ' dspr ' ) , ( 19 , ' Chak\ ' pur ' , ' https : / / friendica . eu / profile / murokka ' , ' http : / / friendica . eu / profile / murokka ' , ' https : / / friendic
2015-02-02 22:58:08 +01:00
/* !40000 ALTER TABLE `gcontact` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `glink`
--
DROP TABLE IF EXISTS ` glink ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` glink ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` cid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` uid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` gcid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
` zcid ` int ( 11 ) NOT NULL DEFAULT ' 0 ' ,
2017-04-11 23:00:45 +02:00
` updated ` datetime NOT NULL DEFAULT ' 0001-01-01 00:00:00 ' ,
2015-02-02 22:58:08 +01:00
PRIMARY KEY ( ` id ` ) ,
KEY ` cid_uid_gcid_zcid ` ( ` cid ` , ` uid ` , ` gcid ` , ` zcid ` ) ,
KEY ` gcid ` ( ` gcid ` ) ,
KEY ` zcid ` ( ` zcid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 189 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `glink`
--
LOCK TABLES ` glink ` WRITE ;
/* !40000 ALTER TABLE `glink` DISABLE KEYS */ ;
INSERT INTO ` glink ` VALUES ( 1 , 0 , 0 , 1 , 0 , ' 2015-02-02 11:31:20 ' ) , ( 2 , 0 , 0 , 2 , 0 , ' 2015-02-02 11:31:21 ' ) , ( 3 , 0 , 0 , 3 , 0 , ' 2015-02-02 11:31:22 ' ) , ( 4 , 0 , 0 , 4 , 0 , ' 2015-02-02 11:31:23 ' ) , ( 5 , 0 , 0 , 5 , 0 , ' 2015-02-02 11:31:24 ' ) , ( 6 , 0 , 0 , 6 , 0 , ' 2015-02-02 11:31:25 ' ) , ( 7 , 0 , 0 , 7 , 0 , ' 2015-02-02 11:31:26 ' ) , ( 8 , 0 , 0 , 8 , 0 , ' 2015-02-02 11:31:27 ' ) , ( 9 , 0 , 0 , 9 , 0 , ' 2015-02-02 11:31:28 ' ) , ( 10 , 0 , 0 , 10 , 0 , ' 2015-02-02 11:31:28 ' ) , ( 11 , 0 , 0 , 11 , 0 , ' 2015-02-02 11:31:29 ' ) , ( 12 , 0 , 0 , 12 , 0 , ' 2015-02-02 11:31:30 ' ) , ( 13 , 0 , 0 , 13 , 0 , ' 2015-02-02 11:31:31 ' ) , ( 14 , 0 , 0 , 14 , 0 , ' 2015-02-02 11:31:32 ' ) , ( 15 , 0 , 0 , 15 , 0 , ' 2015-02-02 11:31:33 ' ) , ( 16 , 0 , 0 , 16 , 0 , ' 2015-02-02 11:31:34 ' ) , ( 17 , 0 , 0 , 17 , 0 , ' 2015-02-02 11:31:35 ' ) , ( 18 , 0 , 0 , 18 , 0 , ' 2015-02-02 11:31:35 ' ) , ( 19 , 0 , 0 , 19 , 0 , ' 2015-02-02 11:31:36 ' ) , ( 20 , 0 , 0 , 20 , 0 , ' 2015-02-02 11:31:37 ' ) , ( 21 , 0 , 0 , 21 , 0 , ' 2015-02-02 11:31:38 ' ) , ( 22 , 0 , 0 , 22 , 0 , ' 2015-02-02 11:31:39 ' ) , ( 23 , 0 , 0 , 23 , 0 , ' 2015-02-02 11:31:40 ' ) , ( 24 , 0 , 0 , 24 , 0 , ' 2015-02-02 11:31:41 ' ) , ( 25 , 0 , 0 , 25 , 0 , ' 2015-02-02 11:31:41 ' ) , ( 26 , 0 , 0 , 26 , 0 , ' 2015-02-02 11:31:42 ' ) , ( 27 , 0 , 0 , 27 , 0 , ' 2015-02-02 11:31:43 ' ) , ( 28 , 0 , 0 , 28 , 0 , ' 2015-02-02 11:31:44 ' ) , ( 29 , 0 , 0 , 29 , 0 , ' 2015-02-02 11:31:44 ' ) , ( 30 , 0 , 0 , 30 , 0 , ' 2015-02-02 11:31:45 ' ) , ( 31 , 0 , 0 , 31 , 0 , ' 2015-02-02 11:31:45 ' ) , ( 32 , 0 , 0 , 32 , 0 , ' 2015-02-02 11:31:45 ' ) , ( 33 , 0 , 0 , 33 , 0 , ' 2015-02-02 11:31:46 ' ) , ( 34 , 0 , 0 , 34 , 0 , ' 2015-02-02 11:31:47 ' ) , ( 35 , 0 , 0 , 35 , 0 , ' 2015-02-02 11:32:53 ' ) , ( 36 , 0 , 0 , 36 , 0 , ' 2015-02-02 11:32:54 ' ) , ( 37 , 0 , 0 , 37 , 0 , ' 2015-02-02 11:32:55 ' ) , ( 38 , 0 , 0 , 38 , 0 , ' 2015-02-02 11:32:56 ' ) , ( 39 , 0 , 0 , 39 , 0 , ' 2015-02-02 11:32:57 ' ) , ( 40 , 0 , 0 , 40 , 0 , ' 2015-02-02 11:32:57 ' ) , ( 41 , 0 , 0 , 41 , 0 , ' 2015-02-02 11:32:58 ' ) , ( 42 , 0 , 0 , 42 , 0 , ' 2015-02-02 11:32:59 ' ) , ( 43 , 0 , 0 , 43 , 0 , ' 2015-02-02 11:33:00 ' ) , ( 44 , 0 , 0 , 44 , 0 , ' 2015-02-02 11:33:01 ' ) , ( 45 , 0 , 0 , 45 , 0 , ' 2015-02-02 11:33:02 ' ) , ( 46 , 0 , 0 , 46 , 0 , ' 2015-02-02 11:33:02 ' ) , ( 47 , 0 , 0 , 47 , 0 , ' 2015-02-02 11:33:03 ' ) , ( 48 , 0 , 0 , 48 , 0 , ' 2015-02-02 11:33:05 ' ) , ( 49 , 0 , 0 , 49 , 0 , ' 2015-02-02 11:33:06 ' ) , ( 50 , 0 , 0 , 50 , 0 , ' 2015-02-02 11:33:07 ' ) , ( 51 , 0 , 0 , 51 , 0 , ' 2015-02-02 11:33:08 ' ) , ( 52 , 0 , 0 , 52 , 0 , ' 2015-02-02 11:33:10 ' ) , ( 53 , 0 , 0 , 53 , 0 , ' 2015-02-02 11:33:11 ' ) , ( 54 , 0 , 0 , 54 , 0 , ' 2015-02-02 11:33:12 ' ) , ( 55 , 0 , 0 , 55 , 0 , ' 2015-02-02 11:33:13 ' ) , ( 56 , 0 , 0 , 56 , 0 , ' 2015-02-02 11:33:14 ' ) , ( 57 , 0 , 0 , 57 , 0 , ' 2015-02-02 11:33:15 ' ) , ( 58 , 0 , 0 , 58 , 0 , ' 2015-02-02 11:33:16 ' ) , ( 59 , 0 , 0 , 59 , 0 , ' 2015-02-02 11:33:17 ' ) , ( 60 , 0 , 0 , 60 , 0 , ' 2015-02-02 11:33:18 ' ) , ( 61 , 0 , 0 , 61 , 0 , ' 2015-02-02 11:33:19 ' ) , ( 62 , 0 , 0 , 62 , 0 , ' 2015-02-02 11:33:21 ' ) , ( 63 , 0 , 0 , 63 , 0 , ' 2015-02-02 11:33:22 ' ) , ( 64 , 0 , 0 , 64 , 0 , ' 2015-02-02 11:33:23 ' ) , ( 65 , 0 , 0 , 65 , 0 , ' 2015-02-02 11:33:24 ' ) , ( 66 , 0 , 0 , 66 , 0 , ' 2015-02-02 11:33:25 ' ) , ( 67 , 0 , 0 , 67 , 0 , ' 2015-02-02 11:33:26 ' ) , ( 68 , 0 , 0 , 68 , 0 , ' 2015-02-02 11:33:29 ' ) , ( 69 , 0 , 0 , 69 , 0 , ' 2015-02-02 11:33:32 ' ) , ( 70 , 0 , 0 , 70 , 0 , ' 2015-02-02 11:33:33 ' ) , ( 71 , 0 , 0 , 71 , 0 , ' 2015-02-02 11:33:34 ' ) , ( 72 , 0 , 0 , 72 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 73 , 0 , 0 , 73 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 74 , 0 , 0 , 74 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 75 , 0 , 0 , 75 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 76 , 0 , 0 , 76 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 77 , 0 , 0 , 77 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 78 , 0 , 0 , 78 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 79 , 0 , 0 , 79 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 80 , 0 , 0 , 80 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 81 , 0 , 0 , 81 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 82 , 0 , 0 , 82 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 83 , 0 , 0 , 83 , 0 , ' 2015-02-02 11:34:38 ' ) , ( 84 , 0 , 0 , 84 , 0 , ' 2015-02-02 11:34:41 ' ) , ( 85 , 0 , 0 , 85 , 0 , ' 2015-02-02 11:34:42 ' ) , ( 86 , 0 , 0 , 86 , 0 , ' 2015-02-02 11:34:43 ' ) , ( 87 , 0 , 0 , 87 , 0 , ' 2015-02-02 11:34:44 ' ) , ( 88 , 0 , 0 , 88 , 0 , ' 2015-02-02 11:34:45 ' ) , ( 89 , 0 , 0 , 89 , 0 , ' 2015-02-02 11:34:46 ' ) , ( 90 , 0 , 0 , 90 , 0 , ' 2015-02-02 11:34:46 ' ) , ( 91 , 0 , 0 , 91 , 0 , ' 2015-02-02 11:34:47 ' ) , ( 92 , 0 , 0 , 92 , 0 , ' 2015-02-02 11:34:48 ' ) , ( 93 , 0 , 0 , 93 , 0 , ' 2015-02-02 11:34:49 ' ) , ( 94 , 0 , 0 , 94 , 0 , ' 2015-02-02 11:34:49 ' ) , ( 95 , 0 , 0 , 95 , 0 , ' 2015-02-02 11:34:50 ' ) , ( 96 , 0 , 0 , 96 , 0 , ' 2015-02-02 11:34:51 ' ) , ( 97 , 0 , 0 , 97 , 0 , ' 2015-02-02 11:34:51 ' ) , ( 98 , 0 , 0 , 98 , 0 , ' 2015-02-02 11:34:52 ' ) , ( 99 , 0 , 0 , 99 , 0 , ' 2015-02-02 11:34:53 ' ) , ( 100 , 0 , 0 , 100 , 0 , ' 2015-02-02 11:34:54 ' ) , ( 101 , 0 , 0 , 101 , 0 , ' 2015-02-02 11:34:55 ' ) , ( 102 , 0 , 0 , 102 , 0 , ' 2015-02-02 11:34:55 ' ) , ( 103 , 0 , 0 , 103 , 0 , ' 2015-02-02 11:34:56 ' ) , ( 104 , 0 , 0 , 104 , 0 , ' 2015-02-02 11:34:57 ' ) , ( 105 , 0 , 0 , 105 , 0 , ' 2015-02-02 11:34:58 ' ) , ( 106 , 0 , 0 , 106 , 0 , ' 2015-02-02 11:34:58 ' ) , ( 107 , 0 , 0 , 107 , 0 , ' 2015-02-02 11:34:59 ' ) , ( 108 , 0 , 0 , 108 , 0 , ' 2015-02-02 11:35:00 ' ) , ( 109 , 0 , 0 , 109 , 0 , ' 2015-02-02 11:35:01 ' ) , ( 110 , 0 , 0 , 110 , 0 , ' 2015-02-02 11:35:02 ' ) , ( 111 , 0 , 0 , 111 , 0 , ' 2015-02-02 11:35:02 ' ) , ( 112 , 0 , 0 , 112 , 0 , ' 2015-02-02 11:35:03 ' ) , ( 113 , 0 , 0 , 113 , 0 , ' 2015-02-02 1
/* !40000 ALTER TABLE `glink` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `group`
--
DROP TABLE IF EXISTS ` group ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` group ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` uid ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` visible ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` deleted ` tinyint ( 1 ) NOT NULL DEFAULT ' 0 ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` uid ` ( ` uid ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `group`
--
LOCK TABLES ` group ` WRITE ;
/* !40000 ALTER TABLE `group` DISABLE KEYS */ ;
INSERT INTO ` group ` VALUES ( 1 , 1 , 0 , 0 , ' Friends ' ) , ( 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 ' ) ;
/* !40000 ALTER TABLE `group` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `group_member`
--
DROP TABLE IF EXISTS ` group_member ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2017-04-16 15:53:48 +02:00
/* !40101 SET character_set_client = utf8mb4 */ ;
2015-02-02 22:58:08 +01:00
CREATE TABLE ` group_member ` (
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
` uid ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' ,
` gid ` 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 ` )
2017-04-16 15:53:48 +02:00
) ENGINE = InnoDB AUTO_INCREMENT = 16 DEFAULT CHARSET = utf8mb4 ;
2015-02-02 22:58:08 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `group_member`
--
LOCK TABLES ` group_member ` WRITE ;
/* !40000 ALTER TABLE `group_member` DISABLE KEYS */ ;
INSERT INTO ` group_member ` VALUES ( 4 , 2 , 2 , 12 ) , ( 5 , 2 , 2 , 14 ) , ( 6 , 2 , 2 , 16 ) , ( 9 , 2 , 2 , 18 ) , ( 12 , 2 , 7 , 12 ) , ( 13 , 2 , 7 , 18 ) , ( 14 , 2 , 8 , 14 ) , ( 15 , 2 , 8 , 16 ) , ( 1 , 3 , 3 , 8 ) , ( 8 , 3 , 3 , 11 ) , ( 2 , 4 , 4 , 7 ) , ( 10 , 4 , 4 , 13 ) , ( 3 , 5 , 5 , 10 ) , ( 7 , 5 , 5 , 15 ) , ( 11 , 6 , 6 , 17 ) ;
/* !40000 ALTER TABLE `group_member` ENABLE KEYS */ ;
UNLOCK TABLES ;
--