mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-29 05:53:09 +01:00
move the new sql to patch8.sql
This commit is contained in:
parent
dd877cfc70
commit
ada6606217
7
db/patch8.sql
Normal file
7
db/patch8.sql
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
||||||
|
BEGIN TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE monitor
|
||||||
|
ADD dns_last_result VARCHAR(255);
|
||||||
|
|
||||||
|
COMMIT;
|
@ -6,7 +6,7 @@ class Database {
|
|||||||
|
|
||||||
static templatePath = "./db/kuma.db"
|
static templatePath = "./db/kuma.db"
|
||||||
static path = "./data/kuma.db";
|
static path = "./data/kuma.db";
|
||||||
static latestVersion = 7;
|
static latestVersion = 8;
|
||||||
static noReject = true;
|
static noReject = true;
|
||||||
static sqliteInstance = null;
|
static sqliteInstance = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user