Add test, Fix sql syntax

This commit is contained in:
Haidang666
2021-06-30 08:59:20 +07:00
parent 214ddc9807
commit 081f2d14b7
2 changed files with 5 additions and 4 deletions

View File

@@ -9,10 +9,10 @@ CREATE TABLE "sqlb_temp_table_17" (
"reason" TEXT NOT NULL default ''
);
INSERT INTO sqlb_temp_table_17 SELECT "userID","issueTime","issuerUserID","enabled", "" FROM "warnings";
INSERT INTO sqlb_temp_table_17 SELECT "userID","issueTime","issuerUserID","enabled", '' FROM "warnings";
DROP TABLE warnings;
ALTER TABLE sqlb_temp_table_17 RENAME TO "warnings";;
ALTER TABLE sqlb_temp_table_17 RENAME TO "warnings";
UPDATE "config" SET value = 17 WHERE key = 'version';