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

Add remote_url to apt_datasets, as for image backed datasets.

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