Commit e1a530a3 authored by Gary Wong's avatar Gary Wong
Browse files

Patch up any inconsistent SES entries in geni_authorities tables.

parent 8a806635
......@@ -439,6 +439,12 @@ foreach my $dbname ("geni", "geni-ch", "geni-cm") {
}
}
foreach my $dbname( "geni", "geni-ch", "geni-cm" ) {
system( "$MYSQL -e \"UPDATE geni_authorities SET type='ses' WHERE " .
"hrn LIKE '%.ses' AND type='';\" $dbname" ) == 0
or fatal( "Could not update SES type: $dbname" );
}
#
# Now we can load the libraries.
#
......
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