mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-13 02:14:32 +01:00
00858b6633
Closes #336
12 lines
238 B
SQL
12 lines
238 B
SQL
BEGIN TRANSACTION;
|
|
|
|
DELETE FROM "userNames" WHERE ctid NOT IN (
|
|
SELECT MIN(ctid) FROM "userNames"
|
|
GROUP BY "userID"
|
|
);
|
|
|
|
ALTER TABLE "userNames" ADD UNIQUE("userID");
|
|
|
|
UPDATE "config" SET value = 23 WHERE key = 'version';
|
|
|
|
COMMIT;
|