Skip to content

Commit 9648eaa

Browse files
committed
-1 has no meaning for a mail_user quota, 0==unlimited and default.
1 parent 2133a98 commit 9648eaa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
ALTER TABLE `mail_user` CHANGE `quota` `quota` BIGINT(20) NOT NULL DEFAULT '0';

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ CREATE TABLE `mail_user` (
10701070
`gid` int(11) NOT NULL default '5000',
10711071
`maildir` varchar(255) NOT NULL default '',
10721072
`maildir_format` varchar(255) NOT NULL default 'maildir',
1073-
`quota` bigint(20) NOT NULL default '-1',
1073+
`quota` bigint(20) NOT NULL default '0',
10741074
`cc` text,
10751075
`forward_in_lda` enum('n','y') NOT NULL default 'n',
10761076
`sender_cc` varchar(255) NOT NULL default '',

0 commit comments

Comments
 (0)