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

Add urn key to geni_authorities and creator_urn to geni_slices.

parent 2ca17d8a
......@@ -42,6 +42,7 @@ CREATE TABLE `geni_authorities` (
`urn` tinytext,
PRIMARY KEY (`uuid`),
UNIQUE KEY `hrn` (`hrn`)
UNIQUE KEY `urn` (`urn`(256))
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `geni_slices`;
......@@ -55,6 +56,7 @@ CREATE TABLE `geni_slices` (
`shutdown` datetime default NULL,
`locked` datetime default NULL,
`creator_uuid` varchar(40) NOT NULL default '',
`creator_urn` tinytext,
`name` tinytext,
`sa_uuid` varchar(40) NOT NULL default '',
`needsfirewall` tinyint(1) NOT NULL default '0',
......
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