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:
parent
ed80a11dfe
commit
e1802adfc9
5 changed files with 23 additions and 3 deletions
|
@ -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`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue