Commit 9c3a3267 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

More tweaks to previous revision.

parent 2ffc29d7
......@@ -2124,6 +2124,7 @@ CREATE TABLE `image_versions` (
`origin_name` varchar(128) default NULL,
`origin_uuid` varchar(64) default NULL,
`origin_neednotify` tinyint(1) NOT NULL default '0',
`origin_needupdate` tinyint(1) NOT NULL default '0',
`logfileid` varchar(40) default NULL,
`noexport` tinyint(1) NOT NULL default '0',
`ready` tinyint(1) NOT NULL default '0',
......
......@@ -28,6 +28,11 @@ sub DoUpdate($$$)
" `origin_neednotify` tinyint(1) NOT NULL default '0' ".
" after origin_uuid");
}
if (!DBSlotExists("image_versions", "origin_needupdate")) {
DBQueryFatal("alter table image_versions add ".
" `origin_needupdate` tinyint(1) NOT NULL default '0' ".
" after origin_neednotify");
}
my $var = "protogeni/use_imagetracker";
if (!TBSiteVarExists($var)) {
......
Supports Markdown
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