Add description to IncidentStatus

Adds a new column to the IncidentStatus to permit the user to explain
why the status change was made. Also exported this and Incident data
into the demo sql file.
This commit is contained in:
2011-12-20 01:06:00 +00:00
parent 4766786ee2
commit 6e5bb3dfd8
4 changed files with 23 additions and 0 deletions

View File

@@ -39,6 +39,25 @@ INSERT INTO `site` (`id`, `service`, `name`, `description`) VALUES
(6, 5, 'Local', 'Local LDAP services'),
(7, 5, 'Offsite', 'Offsite LDAP services');
--
-- Dumping data for table `incident`
--
INSERT INTO `incident` (`id`, `site`, `reference`, `description`, `start_time`, `estimated_end_time`, `actual_end_time`) VALUES
(1, 1, 'UK:0001', 'Intermittent packetloss on primary internet connection', 1324079805, 1324079805, NULL),
(2, 1, 'UK:0002', 'Full outage', 1324079805, 1324079805, NULL),
(3, 4, 'UK:0003', 'DNS zone maintenance', 1324082411, 1324082411, NULL);
--
-- Dumping data for table `incidentstatus`
--
INSERT INTO `incidentstatus` (`id`, `incident`, `status`, `description`, `ctime`) VALUES
(1, 1, 2, 'Initial classification', 1324079864),
(2, 2, 4, 'Initial classification', 1324079864),
(3, 1, 3, 'Status upgraded due to increasing impact from the ongoing issue.', 1324080307),
(4, 3, 1, 'Initial classification', 1324082426);
--
-- Dumping data for table `user`
--