]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
DE update to the translation
[friendica.git] / database.sql
index f621fdd2ef0e2e3739daba5da45a413e661a991b..a482b106cfdb3a8e9ca66ebbe61aeac11699b8d9 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 3.5.1-dev (Asparagus)
--- DB_UPDATE_VERSION 1202
+-- DB_UPDATE_VERSION 1203
 -- ------------------------------------------
 
 
@@ -58,7 +58,7 @@ CREATE TABLE IF NOT EXISTS `cache` (
        `v` text,
        `expire_mode` int(11) NOT NULL DEFAULT 0,
        `updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-        PRIMARY KEY(`k`),
+        PRIMARY KEY(`k`(191)),
         INDEX `updated` (`updated`)
 ) DEFAULT CHARSET=utf8mb4;
 
@@ -158,6 +158,7 @@ CREATE TABLE IF NOT EXISTS `contact` (
        `writable` tinyint(1) NOT NULL DEFAULT 0,
        `forum` tinyint(1) NOT NULL DEFAULT 0,
        `prv` tinyint(1) NOT NULL DEFAULT 0,
+       `contact-type` int(11) unsigned 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,
@@ -678,7 +679,7 @@ CREATE TABLE IF NOT EXISTS `oembed` (
        `url` varchar(255) NOT NULL,
        `content` text,
        `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-        PRIMARY KEY(`url`),
+        PRIMARY KEY(`url`(191)),
         INDEX `created` (`created`)
 ) DEFAULT CHARSET=utf8mb4;
 
@@ -691,7 +692,7 @@ CREATE TABLE IF NOT EXISTS `parsed_url` (
        `oembed` tinyint(1) NOT NULL DEFAULT 0,
        `content` text,
        `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-        PRIMARY KEY(`url`,`guessing`,`oembed`),
+        PRIMARY KEY(`url`(191),`guessing`,`oembed`),
         INDEX `created` (`created`)
 ) DEFAULT CHARSET=utf8mb4;
 
@@ -1061,6 +1062,7 @@ CREATE TABLE IF NOT EXISTS `user` (
        `cntunkmail` int(11) NOT NULL DEFAULT 10,
        `notify-flags` int(11) unsigned NOT NULL DEFAULT 65535,
        `page-flags` int(11) unsigned NOT NULL DEFAULT 0,
+       `account-type` int(11) unsigned NOT NULL DEFAULT 0,
        `prvnets` tinyint(1) NOT NULL DEFAULT 0,
        `pwdreset` varchar(255) NOT NULL DEFAULT '',
        `maxreq` int(11) NOT NULL DEFAULT 10,