Commit 4603e0dd authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Remove remote_uuid as a unique key. It does not really matter, and

we do not actually have it when we create the table row.
parent ac51789b
......@@ -112,8 +112,7 @@ CREATE TABLE `apt_datasets` (
`credential_string` text,
PRIMARY KEY (`idx`),
UNIQUE KEY `plid` (`pid_idx`,`dataset_id`),
UNIQUE KEY `uuid` (`uuid`),
UNIQUE KEY `remote_uuid` (`remote_uuid`)
UNIQUE KEY `uuid` (`uuid`)
use strict;
use libdb;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (DBKeyExists("apt_datasets", "remote_uuid")) {
DBQueryFatal("alter table apt_datasets drop key `remote_uuid`");
return 0;
# Local Variables:
# mode:perl
# End:
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