getLockCategoresByHash

This commit is contained in:
Michael C
2021-07-04 23:33:12 -04:00
parent 719a0956ac
commit a860e96d35
6 changed files with 189 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
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;