Merge database changes into single patch file
This commit is contained in:
parent
98ee9caf2c
commit
93050208bb
|
@ -1,7 +0,0 @@
|
||||||
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
|
||||||
BEGIN TRANSACTION;
|
|
||||||
|
|
||||||
ALTER TABLE heartbeat
|
|
||||||
ADD last_notified_time DATETIME default null;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -4,4 +4,7 @@ BEGIN TRANSACTION;
|
||||||
ALTER TABLE monitor
|
ALTER TABLE monitor
|
||||||
ADD resend_interval INTEGER default 0 not null;
|
ADD resend_interval INTEGER default 0 not null;
|
||||||
|
|
||||||
|
ALTER TABLE heartbeat
|
||||||
|
ADD last_notified_time DATETIME default null;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
|
@ -59,7 +59,6 @@ class Database {
|
||||||
"patch-status-page-footer-css.sql": true,
|
"patch-status-page-footer-css.sql": true,
|
||||||
"patch-added-mqtt-monitor.sql": true,
|
"patch-added-mqtt-monitor.sql": true,
|
||||||
"patch-monitor-add-resend-interval.sql": true,
|
"patch-monitor-add-resend-interval.sql": true,
|
||||||
"patch-heartbeat-add-last-notified-time.sql": true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue