]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
DE update to the translation
[friendica.git] / database.sql
index ecd2be1529f4e29b963f1fb47355a9d07738b08b..a482b106cfdb3a8e9ca66ebbe61aeac11699b8d9 100644 (file)
@@ -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;
 
@@ -679,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;
 
@@ -692,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;