remove username field

This commit is contained in:
Matthew Saunders Brown 2022-08-29 15:34:43 -07:00
parent 19dca486f7
commit 0c7d940c05

View File

@ -121,7 +121,6 @@ CREATE TABLE `vm_mboxes` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`domain_id` int(10) UNSIGNED NOT NULL, `domain_id` int(10) UNSIGNED NOT NULL,
`mbox` varchar(128) NOT NULL, `mbox` varchar(128) NOT NULL,
`username` varchar(128) NOT NULL,
`passwd` char(128) NOT NULL, `passwd` char(128) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1, `status` tinyint(1) NOT NULL DEFAULT 1,
`quota` int(10) UNSIGNED DEFAULT NULL, `quota` int(10) UNSIGNED DEFAULT NULL,
@ -185,7 +184,6 @@ ALTER TABLE `vm_greylisting_resenders`
-- --
ALTER TABLE `vm_mboxes` ALTER TABLE `vm_mboxes`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`),
ADD KEY `email` (`domain_id`,`mbox`) USING BTREE; ADD KEY `email` (`domain_id`,`mbox`) USING BTREE;
-- --