Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
0c6abbd1
Commit
0c6abbd1
authored
Apr 21, 2010
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a key (urn) to geni_authorities.
Add a creator_urn slot to geni_slices.
parent
1a8a1c97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
protogeni/updates/14
protogeni/updates/14
+22
-0
No files found.
protogeni/updates/14
0 → 100644
View file @
0c6abbd1
#
# Add a URN field to the certificate table.
#
use strict;
use GeniDB;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBSetDefault($dbhandle);
DBQueryFatal("ALTER TABLE `geni_authorities` " .
"add unique key `urn` (`urn`(256))");
DBQueryFatal("ALTER TABLE `geni_slices` " .
"ADD COLUMN `creator_urn` tinytext after creator_uuid")
unless DBSlotExists("geni_slices", "creator_urn");
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