Add unique constraint for titles

This commit is contained in:
Ajay 2023-07-23 22:53:14 -04:00
parent ea80a413ba
commit b2081fe155

View file

@ -0,0 +1,7 @@
BEGIN TRANSACTION;
ALTER TABLE "titles" ADD UNIQUE ("videoID", "title"); --!sqlite-ignore
UPDATE "config" SET value = 37 WHERE key = 'version';
COMMIT;