1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

You can now change the titles without loose the links

The URL Friendly version now uses the video ID as well

Also we add some indexes in the video URL and in the filename to speedup the search
This commit is contained in:
daniel 2020-01-04 10:06:15 -03:00
parent ed80a11dfe
commit e1802adfc9
5 changed files with 23 additions and 3 deletions

View file

@ -142,6 +142,8 @@ CREATE TABLE IF NOT EXISTS `videos` (
INDEX `index5` (`order` ASC),
INDEX `fk_videos_videos1_idx` (`next_videos_id` ASC),
INDEX `fk_videos_sites1_idx` (`sites_id` ASC),
INDEX `clean_title_INDEX` (`clean_title` ASC),
INDEX `video_filename_INDEX` (`filename` ASC),
CONSTRAINT `fk_videos_sites1`
FOREIGN KEY (`sites_id`)
REFERENCES `sites` (`id`)