This commit is contained in:
atm-greg 2020-09-24 11:47:41 +02:00
parent d5d187c793
commit 732bb70826
2 changed files with 2 additions and 1 deletions

View File

@ -306,6 +306,7 @@ insert into llx_c_action_trigger (code,label,description,elementtype,rang) value
ALTER TABLE llx_actioncomm_reminder ADD COLUMN entity integer NOT NULL DEFAULT 1; ALTER TABLE llx_actioncomm_reminder ADD COLUMN entity integer NOT NULL DEFAULT 1;
ALTER TABLE llx_actioncomm_reminder ADD COLUMN fk_actioncomm integer NOT NULL; ALTER TABLE llx_actioncomm_reminder ADD COLUMN fk_actioncomm integer NOT NULL;
ALTER TABLE llx_actioncomm_reminder ADD COLUMN fk_email_template integer; ALTER TABLE llx_actioncomm_reminder ADD COLUMN fk_email_template integer;
ALTER TABLE llx_actioncomm_reminder CHANGE offsetunit offsetunit VARCHAR(10);
ALTER TABLE llx_actioncomm_reminder DROP INDEX uk_actioncomm_reminder_unique; ALTER TABLE llx_actioncomm_reminder DROP INDEX uk_actioncomm_reminder_unique;
ALTER TABLE llx_actioncomm_reminder ADD UNIQUE uk_actioncomm_reminder_unique (fk_user, typeremind, offsetvalue, offsetunit, fk_actioncomm); ALTER TABLE llx_actioncomm_reminder ADD UNIQUE uk_actioncomm_reminder_unique (fk_user, typeremind, offsetvalue, offsetunit, fk_actioncomm);

View File

@ -21,7 +21,7 @@ CREATE TABLE llx_actioncomm_reminder(
typeremind varchar(32) NOT NULL, typeremind varchar(32) NOT NULL,
fk_user integer NOT NULL, fk_user integer NOT NULL,
offsetvalue integer NOT NULL, offsetvalue integer NOT NULL,
offsetunit varchar(1) NOT NULL, offsetunit varchar(10) NOT NULL,
status integer NOT NULL DEFAULT 0, status integer NOT NULL DEFAULT 0,
entity integer NOT NULL DEFAULT 1, entity integer NOT NULL DEFAULT 1,
fk_actioncomm integer NOT NULL, fk_actioncomm integer NOT NULL,