1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/updatedb/updateDb.v14.4.sql
Daniel Neto a4def2d45c Update
2024-08-05 11:44:36 -03:00

9 lines
403 B
SQL

-- Add new column isChannelSuggested if it does not exist
ALTER TABLE `videos`
ADD COLUMN `isChannelSuggested` INT(1) UNSIGNED NOT NULL DEFAULT 0;
-- Add new index for isChannelSuggested if it does not exist
CREATE INDEX `is_channel_suggested` ON `videos` (`isChannelSuggested`);
-- Update the version in configurations table
UPDATE configurations SET version = '14.4', modified = now() WHERE id = 1;