mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fix sqlite
This commit is contained in:
parent
9f0f9054d1
commit
326f9e6e93
1 changed files with 5 additions and 5 deletions
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue