Logo
Explore Help
Sign In
mirror/librenms-librenms
1
0
Fork 0
You've already forked librenms-librenms
mirror of https://github.com/librenms/librenms.git synced 2024-10-07 16:52:45 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
145e345b5d4ddd81ebe83fb96e3e9a8da489c128
librenms-librenms/sql-schema/205.sql

4 lines
296 B
MySQL
Raw Normal View History

feature: Notify about failed updates, block detectable bad updates (#7188) * Feature: Notify about failed updates, block detectable bad updates Ability to post notifications when the update fails. Detect and roll back updates that will cause broken installs. (Needs testing) Add severity to notifications, critical (2) notifications will display a toast. This will be used for removing in-tree dependencies and raising the minimum php version. * Improve naming a bit add phpdoc to new_notification In case multiple notifications are created, remove them all. * Remove notifications when update is disabled. * update travis to use db testing * added missing index
2017-08-26 15:35:39 -05:00
ALTER TABLE `notifications` CHANGE `datetime` `datetime` timestamp NOT NULL DEFAULT '1970-01-02 00:00:00';
ALTER TABLE `notifications` ADD `severity` INT DEFAULT 0 NULL COMMENT '0=ok,1=warning,2=critical' AFTER `body`;
CREATE INDEX `notifications_severity_index` ON `notifications` (`severity`);
Reference in New Issue Copy Permalink
Powered by Gitea Page: 1001ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API