updated sql table with new field for severity

This commit is contained in:
Derrick Johnson 2014-05-07 16:43:02 -07:00
parent c41ca9d89b
commit 1ff9eb2c62

View File

@ -11,6 +11,7 @@ CREATE TABLE `alarm` (
`description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`expression` mediumtext COLLATE utf8mb4_unicode_ci, `expression` mediumtext COLLATE utf8mb4_unicode_ci,
`state` enum('UNDETERMINED','OK','ALARM') COLLATE utf8mb4_unicode_ci NOT NULL, `state` enum('UNDETERMINED','OK','ALARM') COLLATE utf8mb4_unicode_ci NOT NULL,
`severity` enum('LOW','MEDIUM','HIGH','CRITICAL') COLLATE utf8mb4_unicode_ci NOT NULL,
`actions_enabled` tinyint(1) NOT NULL DEFAULT '1', `actions_enabled` tinyint(1) NOT NULL DEFAULT '1',
`created_at` datetime NOT NULL, `created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL, `updated_at` datetime NOT NULL,