Commit 6250fa50 authored by Leigh B Stoller's avatar Leigh B Stoller

Add 'external_resource_key' to reserved table for protogeni cooked

mode.
parent a4821544
......@@ -3246,6 +3246,7 @@ CREATE TABLE `reserved` (
`genisliver_idx` int(10) unsigned default NULL,
`external_resource_index` int(10) unsigned default NULL,
`external_resource_id` tinytext,
`external_resource_key` tinytext,
`tmcd_redirect` tinytext,
`sharing_mode` varchar(32) default NULL,
PRIMARY KEY (`node_id`),
......
#
# Add extenal references slots to nodes table, as for geni.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("reserved", "external_resource_key")) {
DBQueryFatal("alter table reserved add ".
"external_resource_key tinytext ".
"after external_resource_id");
}
return 0;
}
1;
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