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

Add aggregate_urn to apr_instances table.

parent f8a4a366
......@@ -66,6 +66,7 @@ CREATE TABLE `apt_instances` (
`creator` varchar(8) NOT NULL default '',
`creator_idx` mediumint(8) unsigned NOT NULL default '0',
`creator_uuid` varchar(40) NOT NULL default '',
`aggregate_urn` varchar(128) default NULL,
`created` datetime default NULL,
`status` varchar(32) default NULL,
`extension_code` varchar(32) default NULL,
......
#
# APT change.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "aggregate_urn")) {
DBQueryFatal("alter table apt_instances add ".
" `aggregate_urn` varchar(128) default NULL ".
" after creator_uuid");
}
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