NEW add relation type on element_element (#29329)

* add relation type on element_element

* add column on migration 19 -> 20
This commit is contained in:
Eric 2024-04-29 11:29:32 +02:00 committed by GitHub
parent 2bd6b32974
commit ea9a6c0162
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -308,3 +308,9 @@ ALTER TABLE llx_rights_def ADD COLUMN module_origin varchar(64) AFTER module;
ALTER TABLE llx_rights_def ADD COLUMN enabled text NULL AFTER bydefault;
DELETE FROM llx_c_action_trigger WHERE code = 'BILLREC_AUTOCREATEBILL';
-- element_element, see https://github.com/Dolibarr/dolibarr/pull/29329
ALTER TABLE element_element ADD COLUMN relationtype varchar(64) DEFAULT NULL AFTER targettype;

View File

@ -26,6 +26,6 @@ create table llx_element_element
fk_source integer NOT NULL,
sourcetype varchar(64) NOT NULL,
fk_target integer NOT NULL,
targettype varchar(64) NOT NULL
targettype varchar(64) NOT NULL,
relationtype varchar(64) DEFAULT NULL
) ENGINE=innodb;