1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

allow download per category

add an option to decide what category can be downloaded and what can not
This commit is contained in:
daniel 2019-10-31 13:46:31 -03:00
parent 1df01c93e4
commit 7d90140d8a
8 changed files with 46 additions and 8 deletions

View file

@ -73,6 +73,7 @@ CREATE TABLE IF NOT EXISTS `categories` (
`iconClass` VARCHAR(45) NOT NULL DEFAULT 'fa fa-folder',
`users_id` INT(11) NOT NULL DEFAULT 1,
`private` TINYINT(1) NULL DEFAULT 0,
`allow_download` TINYINT(1) NULL DEFAULT 1,
PRIMARY KEY (`id`),
INDEX `fk_categories_users1_idx` (`users_id` ASC),
UNIQUE INDEX `clean_name_UNIQUE` (`clean_name` ASC),