Commit e27c1e2d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add monitor_pid to apt_instances tables.

parent 010dc9a8
......@@ -137,6 +137,7 @@ CREATE TABLE `apt_instances` (
`extension_code` varchar(32) default NULL,
`extension_reason` mediumtext,
`servername` tinytext,
`monitor_pid` int(11) default '0',
`rspec` mediumtext,
`params` mediumtext,
`manifest` mediumtext,
......
#
# APT instance stuff.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "monitor_pid")) {
DBQueryFatal("alter table apt_instances add ".
" `monitor_pid` int(11) default '0' after servername");
}
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