Fix sqlite

This commit is contained in:
Ajay Ramachandran 2021-08-05 20:03:37 -04:00
parent 9f0f9054d1
commit 326f9e6e93

View file

@ -1,11 +1,11 @@
BEGIN TRANSACTION; BEGIN TRANSACTION;
DELETE FROM "userNames" WHERE ctid NOT IN ( DELETE FROM "userNames" WHERE ctid NOT IN ( --!sqlite-ignore
SELECT MIN(ctid) FROM "userNames" SELECT MIN(ctid) FROM "userNames" --!sqlite-ignore
GROUP BY "userID" GROUP BY "userID" --!sqlite-ignore
); ); --!sqlite-ignore
ALTER TABLE "userNames" ADD UNIQUE("userID"); ALTER TABLE "userNames" ADD UNIQUE("userID"); --!sqlite-ignore
UPDATE "config" SET value = 23 WHERE key = 'version'; UPDATE "config" SET value = 23 WHERE key = 'version';