1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/updatedb/updateDb.v5.7.sql
DanielnetoDotCom 9d3491dde2
2020-10-05 10:23:59 -03:00

4 lines
461 B
SQL

ALTER TABLE `configurations` ADD `authCanViewChart` TINYINT(2) NOT NULL DEFAULT '0' AFTER `authCanUploadVideos`;
ALTER TABLE `users` ADD `canViewChart` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canUpload`;
ALTER TABLE `videos` CHANGE `type` `type` ENUM('audio','video','embed','linkVideo','linkAudio','torrent') CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'video';
UPDATE configurations SET version = '5.7', modified = now() WHERE id = 1;