mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Speed up categories
This commit is contained in:
parent
4e23f2d07c
commit
d00e79ba53
3 changed files with 14 additions and 1 deletions
|
@ -76,6 +76,7 @@ CREATE TABLE IF NOT EXISTS `categories` (
|
|||
`allow_download` TINYINT(1) NULL DEFAULT 1,
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `fk_categories_users1_idx` (`users_id` ASC),
|
||||
INDEX `clean_name_INDEX2` (`clean_name` ASC),
|
||||
UNIQUE INDEX `clean_name_UNIQUE` (`clean_name` ASC),
|
||||
CONSTRAINT `fk_categories_users1`
|
||||
FOREIGN KEY (`users_id`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue