Commit 1a0f4cac authored by Leigh Stoller's avatar Leigh Stoller

Decided I want the url in the failures table.

parent 757f69c4
......@@ -162,6 +162,7 @@ CREATE TABLE `apt_instance_failures` (
`created` datetime default NULL,
`exitcode` int(10) default '0',
`exitmessage` mediumtext,
`public_url` tinytext,
PRIMARY KEY (`uuid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instance_failures", "public_url")) {
DBQueryFatal("ALTER TABLE apt_instance_failures ADD ".
" `public_url` tinytext");
}
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