Merge pull request #2831 from annando/1610-fix-utf8mb4
Little fix to the utf8mb4-fix: Now here's the changed database.sql
This commit is contained in:
commit
2d450abd3b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user