SponsorBlockServer/databases/_upgrade_private_2.sql

13 lines
280 B
MySQL
Raw Normal View History

2021-06-27 06:45:42 +02:00
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "userNameLogs" (
"userID" TEXT NOT NULL,
"newUserName" TEXT NOT NULL,
"oldUserName" TEXT NOT NULL,
"updatedByAdmin" BOOLEAN NOT NULL,
"updatedAt" INTEGER NOT NULL
);
UPDATE "config" SET value = 2 WHERE key = 'version';
COMMIT;