Commit 5c600337 authored by Michele's avatar Michele

Updated mail_mailinglist table with some mlmmj fields

parent a25e52fc
ALTER TABLE `mail_mailinglist` ADD `list_type` enum('open','closed') NOT NULL DEFAULT 'open';
ALTER TABLE `mail_mailinglist` ADD `subject_prefix` varchar(50) NOT NULL DEFAULT '';
ALTER TABLE `mail_mailinglist` ADD `admins` mediumtext;
ALTER TABLE `mail_mailinglist` ADD `digestinterval` int(11) NOT NULL DEFAULT '7';
ALTER TABLE `mail_mailinglist` ADD `digestmaxmails` int(11) NOT NULL DEFAULT '50';
ALTER TABLE `mail_mailinglist` ADD `archive` enum('n','y') NOT NULL DEFAULT 'n';
ALTER TABLE `mail_mailinglist` ADD `digesttext` ENUM('n','y') NOT NULL DEFAULT 'n';
ALTER TABLE `mail_mailinglist` ADD `digestsub` ENUM('n','y') NOT NULL DEFAULT 'n';
ALTER TABLE `mail_mailinglist` ADD `mail_footer` mediumtext;
ALTER TABLE `mail_mailinglist` ADD `subscribe_policy` enum('disabled','confirm','approval','both','none') NOT NULL DEFAULT 'confirm';
ALTER TABLE `mail_mailinglist` ADD `posting_policy` enum('closed','moderated','free') NOT NULL DEFAULT 'free';
\ No newline at end of file
......@@ -877,8 +877,19 @@ CREATE TABLE `mail_mailinglist` (
`server_id` int(11) unsigned NOT NULL default '0',
`domain` varchar(255) NOT NULL DEFAULT '',
`listname` varchar(255) NOT NULL DEFAULT '',
`list_type` enum('open','closed') NOT NULL DEFAULT 'open',
`email` varchar(255) NOT NULL DEFAULT '',
`password` varchar(255) NOT NULL DEFAULT '',
`subject_prefix` varchar(50) NOT NULL DEFAULT '',
`admins` mediumtext,
`digestinterval` int(11) NOT NULL DEFAULT '7',
`digestmaxmails` int(11) NOT NULL DEFAULT '50',
`archive` enum('n','y') NOT NULL DEFAULT 'n',
`digesttext` enum('n','y') NOT NULL DEFAULT 'n',
`digestsub` enum('n','y') NOT NULL DEFAULT 'n',
`mail_footer` mediumtext,
`subscribe_policy` enum('disabled','confirm','approval','both','none') NOT NULL DEFAULT 'confirm',
`posting_policy` enum('closed','moderated','free') NOT NULL DEFAULT 'free',
PRIMARY KEY (`mailinglist_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=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