Little fix to the utf8mb4: Now here's the changed database.sql
This commit is contained in:
parent
82dcc3fe79
commit
2a93c5b816
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ CREATE TABLE IF NOT EXISTS `cache` (
|
||||||
`v` text,
|
`v` text,
|
||||||
`expire_mode` int(11) NOT NULL DEFAULT 0,
|
`expire_mode` int(11) NOT NULL DEFAULT 0,
|
||||||
`updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
PRIMARY KEY(`k`),
|
PRIMARY KEY(`k`(191)),
|
||||||
INDEX `updated` (`updated`)
|
INDEX `updated` (`updated`)
|
||||||
) DEFAULT CHARSET=utf8mb4;
|
) DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
@ -679,7 +679,7 @@ CREATE TABLE IF NOT EXISTS `oembed` (
|
||||||
`url` varchar(255) NOT NULL,
|
`url` varchar(255) NOT NULL,
|
||||||
`content` text,
|
`content` text,
|
||||||
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
PRIMARY KEY(`url`),
|
PRIMARY KEY(`url`(191)),
|
||||||
INDEX `created` (`created`)
|
INDEX `created` (`created`)
|
||||||
) DEFAULT CHARSET=utf8mb4;
|
) DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
@ -692,7 +692,7 @@ CREATE TABLE IF NOT EXISTS `parsed_url` (
|
||||||
`oembed` tinyint(1) NOT NULL DEFAULT 0,
|
`oembed` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`content` text,
|
`content` text,
|
||||||
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`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`)
|
INDEX `created` (`created`)
|
||||||
) DEFAULT CHARSET=utf8mb4;
|
) DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue