mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Improved key length
This commit is contained in:
parent
3af5f6b8ee
commit
cbfea67ba6
2 changed files with 8 additions and 8 deletions
|
@ -175,14 +175,14 @@ CREATE TABLE IF NOT EXISTS `contact` (
|
||||||
PRIMARY KEY(`id`),
|
PRIMARY KEY(`id`),
|
||||||
INDEX `uid_name` (`uid`,`name`(190)),
|
INDEX `uid_name` (`uid`,`name`(190)),
|
||||||
INDEX `self_uid` (`self`,`uid`),
|
INDEX `self_uid` (`self`,`uid`),
|
||||||
INDEX `alias_uid` (`alias`(96),`uid`),
|
INDEX `alias_uid` (`alias`(128),`uid`),
|
||||||
INDEX `pending_uid` (`pending`,`uid`),
|
INDEX `pending_uid` (`pending`,`uid`),
|
||||||
INDEX `blocked_uid` (`blocked`,`uid`),
|
INDEX `blocked_uid` (`blocked`,`uid`),
|
||||||
INDEX `uid_rel_network_poll` (`uid`,`rel`,`network`,`poll`(64),`archive`),
|
INDEX `uid_rel_network_poll` (`uid`,`rel`,`network`,`poll`(64),`archive`),
|
||||||
INDEX `uid_network_batch` (`uid`,`network`,`batch`(64)),
|
INDEX `uid_network_batch` (`uid`,`network`,`batch`(64)),
|
||||||
INDEX `addr_uid` (`addr`(96),`uid`),
|
INDEX `addr_uid` (`addr`(128),`uid`),
|
||||||
INDEX `nurl_uid` (`nurl`(96),`uid`),
|
INDEX `nurl_uid` (`nurl`(128),`uid`),
|
||||||
INDEX `nick_uid` (`nick`(32),`uid`),
|
INDEX `nick_uid` (`nick`(128),`uid`),
|
||||||
INDEX `attag_uid` (`attag`(96),`uid`),
|
INDEX `attag_uid` (`attag`(96),`uid`),
|
||||||
INDEX `dfrn-id` (`dfrn-id`(64)),
|
INDEX `dfrn-id` (`dfrn-id`(64)),
|
||||||
INDEX `issued-id` (`issued-id`(64)),
|
INDEX `issued-id` (`issued-id`(64)),
|
||||||
|
|
|
@ -234,14 +234,14 @@ return [
|
||||||
"PRIMARY" => ["id"],
|
"PRIMARY" => ["id"],
|
||||||
"uid_name" => ["uid", "name(190)"],
|
"uid_name" => ["uid", "name(190)"],
|
||||||
"self_uid" => ["self", "uid"],
|
"self_uid" => ["self", "uid"],
|
||||||
"alias_uid" => ["alias(96)", "uid"],
|
"alias_uid" => ["alias(128)", "uid"],
|
||||||
"pending_uid" => ["pending", "uid"],
|
"pending_uid" => ["pending", "uid"],
|
||||||
"blocked_uid" => ["blocked", "uid"],
|
"blocked_uid" => ["blocked", "uid"],
|
||||||
"uid_rel_network_poll" => ["uid", "rel", "network", "poll(64)", "archive"],
|
"uid_rel_network_poll" => ["uid", "rel", "network", "poll(64)", "archive"],
|
||||||
"uid_network_batch" => ["uid", "network", "batch(64)"],
|
"uid_network_batch" => ["uid", "network", "batch(64)"],
|
||||||
"addr_uid" => ["addr(96)", "uid"],
|
"addr_uid" => ["addr(128)", "uid"],
|
||||||
"nurl_uid" => ["nurl(96)", "uid"],
|
"nurl_uid" => ["nurl(128)", "uid"],
|
||||||
"nick_uid" => ["nick(32)", "uid"],
|
"nick_uid" => ["nick(128)", "uid"],
|
||||||
"attag_uid" => ["attag(96)", "uid"],
|
"attag_uid" => ["attag(96)", "uid"],
|
||||||
"dfrn-id" => ["dfrn-id(64)"],
|
"dfrn-id" => ["dfrn-id(64)"],
|
||||||
"issued-id" => ["issued-id(64)"],
|
"issued-id" => ["issued-id(64)"],
|
||||||
|
|
Loading…
Reference in a new issue