Index: branches/5.1.x/core/install/install_schema.sql =================================================================== diff -u -r13559 -r13635 --- branches/5.1.x/core/install/install_schema.sql (.../install_schema.sql) (revision 13559) +++ branches/5.1.x/core/install/install_schema.sql (.../install_schema.sql) (revision 13635) @@ -93,6 +93,14 @@ EventId int(11) NOT NULL AUTO_INCREMENT, `Event` varchar(40) NOT NULL DEFAULT '', ReplacementTags text, + AllowChangingSender tinyint(4) NOT NULL DEFAULT '0', + CustomSender tinyint(4) NOT NULL DEFAULT '0', + SenderName varchar(255) NOT NULL DEFAULT '', + SenderAddressType tinyint(4) NOT NULL DEFAULT '0', + SenderAddress varchar(255) NOT NULL DEFAULT '', + AllowChangingRecipient tinyint(4) NOT NULL DEFAULT '0', + CustomRecipient tinyint(4) NOT NULL DEFAULT '0', + Recipients text, l1_Subject text, l2_Subject text, l3_Subject text, @@ -107,15 +115,19 @@ MessageType varchar(4) NOT NULL DEFAULT 'text', Enabled int(11) NOT NULL DEFAULT '1', FrontEndOnly tinyint(3) unsigned NOT NULL DEFAULT '0', - FromUserId int(11) DEFAULT NULL, Module varchar(40) NOT NULL DEFAULT '', Description text, `Type` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (EventId), KEY `Type` (`Type`), KEY Enabled (Enabled), KEY `Event` (`Event`), - KEY FrontEndOnly (FrontEndOnly) + KEY FrontEndOnly (FrontEndOnly), + KEY AllowChangingSender (AllowChangingSender), + KEY CustomSender (CustomSender), + KEY SenderAddressType (SenderAddressType), + KEY AllowChangingRecipient (AllowChangingRecipient), + KEY CustomRecipient (CustomRecipient) ); CREATE TABLE IdGenerator (