mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:43:40 +00:00
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,
|
||||
`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 a new issue