SponsorBlockServer/databases/_upgrade_sponsorTimes_18.sql
2021-07-04 23:33:12 -04:00

9 lines
245 B
SQL

BEGIN TRANSACTION;
/* Add hash field */
ALTER TABLE "lockCategories" ADD "hashedVideoID" TEXT NOT NULL default '';
UPDATE "lockCategories" SET "hashedVideoID" = sha256("videoID");
UPDATE "config" SET value = 18 WHERE key = 'version';
COMMIT;