mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
17 lines
No EOL
416 B
SQL
17 lines
No EOL
416 B
SQL
BEGIN TRANSACTION;
|
|
|
|
/* Add enabled field */
|
|
CREATE TABLE "sqlb_temp_table_5" (
|
|
userID TEXT NOT NULL,
|
|
issueTime INTEGER NOT NULL,
|
|
issuerUserID TEXT NOT NULL,
|
|
enabled INTEGER NOT NULL
|
|
);
|
|
INSERT INTO sqlb_temp_table_5 SELECT userID,issueTime,issuerUserID,1 FROM warnings;
|
|
|
|
DROP TABLE warnings;
|
|
ALTER TABLE sqlb_temp_table_5 RENAME TO "warnings";
|
|
|
|
UPDATE config SET value = 5 WHERE key = "version";
|
|
|
|
COMMIT; |