Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
6250fa50
Commit
6250fa50
authored
Dec 07, 2010
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'external_resource_key' to reserved table for protogeni cooked
mode.
parent
a4821544
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
sql/database-create.sql
sql/database-create.sql
+1
-0
sql/updates/4/228
sql/updates/4/228
+18
-0
No files found.
sql/database-create.sql
View file @
6250fa50
...
...
@@ -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`
),
...
...
sql/updates/4/228
0 → 100644
View file @
6250fa50
#
# 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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment