Merge database changes into single patch file

This commit is contained in:
OidaTiftla 2022-05-05 16:01:10 +02:00
parent 98ee9caf2c
commit 93050208bb
3 changed files with 3 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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,
}; };
/** /**