Commit dd528c1a authored by Leigh Stoller's avatar Leigh Stoller

Add remote_urn slot to apt_datasets table.

parent b1628c28
......@@ -68,6 +68,7 @@ CREATE TABLE `apt_datasets` (
`creator_uid` varchar(8) NOT NULL default '',
`creator_idx` mediumint(8) unsigned NOT NULL default '0',
`aggregate_urn` varchar(128) default NULL,
`remote_urn` varchar(128) NOT NULL default '',
`remote_uuid` varchar(40) NOT NULL default '',
`created` datetime default NULL,
`expires` datetime default NULL,
......
#
# APT Dataset stuff
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_datasets", "remote_urn")) {
DBQueryFatal("alter table apt_datasets add ".
" `remote_urn` varchar(128) NOT NULL default '' ".
" after aggregate_urn");
}
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