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

Fix erroneous primary key in update 509.

sql/database-create.sql had the correct schema all along.
parent 370eb001
use strict;
use libdb;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal( "ALTER TABLE future_reservations DROP PRIMARY KEY" );
DBQueryFatal( "ALTER TABLE future_reservations ADD PRIMARY KEY " .
"(pid_idx,start,end,type,nodes)" );
return 0;
# Local Variables:
# mode:perl
# End:
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