-- Upgrade from 2.2
-- --------------------------------------------------
-ALTER TABLE Status ADD COLUMN severity int;
-UPDATE Status SET severity = 15;
-UPDATE Status SET severity = 100 where JobStatus = 'f';
-UPDATE Status SET severity = 90 where JobStatus = 'A';
-UPDATE Status SET severity = 10 where JobStatus = 'T';
-UPDATE Status SET severity = 20 where JobStatus = 'e';
-UPDATE Status SET severity = 25 where JobStatus = 'E';
-
-
-- New tables for bresto (same as brestore)
CREATE TABLE brestore_knownjobid
-- Upgrade from 2.2
-- --------------------------------------------------
-ALTER TABLE Status ADD COLUMN severity int;
-UPDATE status SET severity = 15;
-UPDATE status SET severity = 100 where jobstatus = 'f';
-UPDATE status SET severity = 90 where jobstatus = 'A';
-UPDATE status SET severity = 10 where jobstatus = 'T';
-UPDATE status SET severity = 20 where jobstatus = 'e';
-UPDATE status SET severity = 25 where jobstatus = 'E';
-
-- New tables for bresto (same as brestore)
CREATE TABLE brestore_knownjobid