SponsorBlockServer/databases/_upgrade_private_3.sql

10 lines
264 B
MySQL
Raw Normal View History

2021-09-30 08:56:55 +02:00
BEGIN TRANSACTION;
ALTER TABLE "sponsorTimes" ADD "service" TEXT NOT NULL default 'YouTube';
-- UPDATE "sponsorTimes" SET "service" = "YouTube";
DROP INDEX IF EXISTS "privateDB_sponsorTimes_videoID";
UPDATE "config" SET value = 3 WHERE key = 'version';
COMMIT;