2022-05-10 20:06:24 +02:00
|
|
|
BEGIN TRANSACTION;
|
|
|
|
|
|
|
|
-- Add primary keys
|
|
|
|
|
2022-05-17 18:53:48 +02:00
|
|
|
ALTER TABLE "userNameLogs" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
|
|
|
ALTER TABLE "categoryVotes" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
|
|
|
ALTER TABLE "sponsorTimes" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
|
|
|
ALTER TABLE "config" ADD PRIMARY KEY ("key"); --!sqlite-ignore
|
|
|
|
ALTER TABLE "ratings" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
|
|
|
ALTER TABLE "tempVipLog" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
|
|
|
ALTER TABLE "votes" ADD "id" SERIAL PRIMARY KEY; --!sqlite-ignore
|
2022-05-10 20:06:24 +02:00
|
|
|
|
|
|
|
UPDATE "config" SET value = 8 WHERE key = 'version';
|
|
|
|
|
|
|
|
COMMIT;
|