mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-20 22:48:33 +03:00
Add log when update username
This commit is contained in:
13
databases/_upgrade_private_2.sql
Normal file
13
databases/_upgrade_private_2.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user