mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-29 22:00:52 +03:00
add service to table only have videoID
This commit is contained in:
10
databases/_upgrade_private_3.sql
Normal file
10
databases/_upgrade_private_3.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user