Commit 9728ab0e authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add expires to geni_components and geni_authorities.

parent 9b8a3542
...@@ -55,6 +55,7 @@ CREATE TABLE `geni_components` ( ...@@ -55,6 +55,7 @@ CREATE TABLE `geni_components` (
`uuid` varchar(40) NOT NULL default '', `uuid` varchar(40) NOT NULL default '',
`manager_uuid` varchar(40) default NULL, `manager_uuid` varchar(40) default NULL,
`created` datetime default NULL, `created` datetime default NULL,
`expires` datetime default NULL,
`url` tinytext, `url` tinytext,
PRIMARY KEY (`uuid`), PRIMARY KEY (`uuid`),
UNIQUE KEY `hrn` (`hrn`) UNIQUE KEY `hrn` (`hrn`)
...@@ -78,6 +79,7 @@ CREATE TABLE `geni_authorities` ( ...@@ -78,6 +79,7 @@ CREATE TABLE `geni_authorities` (
`uuid` varchar(40) NOT NULL default '', `uuid` varchar(40) NOT NULL default '',
`uuid_prefix` varchar(12) NOT NULL default '', `uuid_prefix` varchar(12) NOT NULL default '',
`created` datetime default NULL, `created` datetime default NULL,
`expires` datetime default NULL,
`type` enum('sa','ma','ch','cm') NOT NULL default 'sa', `type` enum('sa','ma','ch','cm') NOT NULL default 'sa',
`url` tinytext, `url` tinytext,
PRIMARY KEY (`uuid`), PRIMARY KEY (`uuid`),
......
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