Add field calling_duration in table llx_actioncomm

This commit is contained in:
Laurent Destailleur 2019-01-26 01:17:41 +01:00
parent e42fe4022a
commit 70c52e6417
2 changed files with 5 additions and 0 deletions

View File

@ -87,3 +87,6 @@ ALTER TABLE llx_subscription ADD fk_type integer(11);
-- Add url_id into unique index of bank_url
ALTER TABLE llx_bank_url DROP INDEX uk_bank_url;
ALTER TABLE llx_bank_url ADD UNIQUE INDEX uk_bank_url (fk_bank, url_id, type);
ALTER TABLE llx_actioncomm ADD COLUMN calling_duration integer;

View File

@ -55,6 +55,8 @@ create table llx_actioncomm
label varchar(255) NOT NULL, -- label/title of event or topic of email
note text, -- note of event or content of email
calling_duration integer, -- when event is a phone call, duration of phone call
email_subject varchar(255), -- when event was an email, we store here the subject. content is stored into note.
email_msgid varchar(255), -- when event was an email, we store here the msgid
email_from varchar(255), -- when event was an email, we store here the from