Commit c0f02b11 authored by Leigh Stoller's avatar Leigh Stoller

Add logfileid to apt_instances.

parent 7c112af3
......@@ -188,6 +188,7 @@ CREATE TABLE `apt_instances` (
`virtnode_count` smallint(5) unsigned NOT NULL default '0',
`servername` tinytext,
`monitor_pid` int(11) default '0',
`logfileid` varchar(40) default NULL,
`rspec` mediumtext,
`params` mediumtext,
`manifest` mediumtext,
......
#
# APT stuff
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "logfileid")) {
DBQueryFatal("alter table apt_instances add ".
" `logfileid` varchar(40) default NULL after monitor_pid");
}
return 0;
}
1;
# 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