Commit 8c41b683 authored by Leigh Stoller's avatar Leigh Stoller

Cleanup.

parent 857ca3d4
......@@ -12,12 +12,11 @@ sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal(<<'SQL'
ALTER TABLE outlets_remoteauth
ADD COLUMN key_privlvl
ENUM ('CALLBACK', 'USER', 'OPERATOR', 'ADMINISTRATOR', 'OTHER') DEFAULT NULL
SQL
);
if (!DBSlotExists("outlets_remoteauth", "key_privlvl")) {
DBQueryFatal("ALTER TABLE outlets_remoteauth add ".
" `key_privlvl` ENUM ('CALLBACK', 'USER', 'OPERATOR', ".
"'ADMINISTRATOR', 'OTHER') DEFAULT NULL ");
}
return 0;
}
1;
......
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