Commit d790ec29 authored by Leigh B Stoller's avatar Leigh B Stoller

Add a slot to geni_slices to indicate slices needs human attention.

parent 872f65ea
......@@ -58,6 +58,7 @@ CREATE TABLE `geni_slices` (
`shutdown` datetime default NULL,
`locked` datetime default NULL,
`stitch_locked` datetime default NULL,
`hosed` tinyint(1) NOT NULL default '0',
`creator_uuid` varchar(40) NOT NULL default '',
`creator_urn` tinytext,
`speaksfor_uuid` varchar(40) default NULL,
# Add a flag to indicate slice is hosed and needs human attention.
use strict;
use GeniDB;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("geni_slices", "hosed")) {
DBQueryFatal("alter table geni_slices add ".
" `hosed` tinyint(1) default 0 after stitch_locked");
return 0;
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment