@ -6,6 +6,10 @@ ALTER TABLE `mumble_mumble`
ADD `display` varchar(200) AFTER `name`;
COMMIT;
BEGIN;
ALTER TABLE mumble_mumble DROP KEY `addr`;
CREATE INDEX `mumble_mumble_server_id_idx`
ON `mumble_mumble` (`server_id`);
@ -5,3 +5,5 @@ ALTER TABLE "mumble_mumble"
ADD "display" varchar(200);
CREATE INDEX "mumble_mumble_server_id" ON "mumble_mumble" ("server_id");
ALTER TABLE "mumble_mumble" DROP CONSTRAINT "mumble_mumble_addr_key";
@ -6,6 +6,5 @@ CREATE TABLE "mumble_mumble_new" (
"addr" varchar(200) NOT NULL,
"port" integer NOT NULL,
"display" varchar(200) NOT NULL,
UNIQUE ("server_id", "srvid"),
UNIQUE ("addr", "port")
UNIQUE ("server_id", "srvid")
);