Commit 459f68ad authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add a registered datetime to the geni_aggregates table so the

daemon knows if the aggregate (slice) has been registered at its
Slice Authority.
parent f8bdb8d7
#
# Support for sliver registration.
#
use strict;
use GeniDB;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBSetDefault($dbhandle);
if (!DBSlotExists("geni_aggregates", "registered")) {
DBQueryFatal("alter table geni_aggregates add ".
"`registered` datetime default NULL ".
"after locked");
}
return 0;
}
1;
Supports Markdown
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