New: add "tracker" field for add an unique random code to be used for statistics
This commit is contained in:
parent
0aca6759e8
commit
0d457fada0
@ -91,6 +91,8 @@ ALTER TABLE llx_propaldet ADD INDEX idx_propaldet_fk_product (fk_product);
|
||||
ALTER TABLE llx_commandedet ADD INDEX idx_commandedet_fk_product (fk_product);
|
||||
ALTER TABLE llx_facturedet ADD INDEX idx_facturedet_fk_product (fk_product);
|
||||
|
||||
ALTER TABLE llx_mailing_cibles ADD COLUMN tracker varchar(128) NULL AFTER other;
|
||||
|
||||
--Add Chile data (id pays=67)
|
||||
-- Regions Chile
|
||||
INSERT INTO llx_c_regions (rowid, code_region, fk_pays, cheflieu, tncc, nom, active) VALUES (6701, 6701, 67, NULL, NULL, 'Tarapacá', 1);
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
-- Copyright (C) 2011 Regis Houssin <regis@dolibarr.fr>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
@ -29,6 +30,7 @@ create table llx_mailing_cibles
|
||||
prenom varchar(160),
|
||||
email varchar(160) NOT NULL,
|
||||
other varchar(255) NULL,
|
||||
tracker varchar(128) NULL,
|
||||
statut smallint NOT NULL DEFAULT 0,
|
||||
source_url varchar(160),
|
||||
source_id integer,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user