Add column evenunsubscribe for emailing

This commit is contained in:
Laurent Destailleur 2023-04-07 19:10:52 +02:00
parent 52ad0edd2d
commit 2bc2a5e791
2 changed files with 4 additions and 0 deletions

View File

@ -387,3 +387,6 @@ ALTER TABLE llx_product_fournisseur_price_log ADD INDEX idx_product_fournisseur_
ALTER TABLE llx_bordereau_cheque ADD COLUMN label varchar(255) AFTER ref;
ALTER TABLE llx_c_email_templates add COLUMN defaultfortype smallint DEFAULT 0;
ALTER TALBE llx_mailing ADD COLUMN evenunsubscribe smallint DEFAULT 0;

View File

@ -33,6 +33,7 @@ create table llx_mailing
body mediumtext,
bgcolor varchar(8), -- Backgroud color of mailing
bgimage varchar(255), -- Backgroud image of mailing
evenunsubscribe smallint DEFAULT 0, -- If 1, email will be send event if recipient has opt-out to emailings
cible varchar(60),
nbemail integer,
email_from varchar(160), -- Email address of sender