Fix length of field. Make some module die.

This commit is contained in:
Laurent Destailleur 2020-05-31 23:12:26 +02:00
parent c04903d15c
commit 67f007ea40
2 changed files with 3 additions and 1 deletions

View File

@ -73,6 +73,8 @@ delete from llx_const where name in ('PROJECT_HIDE_TASKS', 'MAIN_BUGTRACK_ENABLE
ALTER TABLE llx_prelevement_bons ADD COLUMN type varchar(16) DEFAULT 'debit-order';
ALTER TABLE llx_ecm_files MODIFY COLUMN src_object_type varchar(64);
-- Delete an old index that is duplicated
-- VMYSQL4.1 DROP INDEX ix_fk_product_stock on llx_product_batch;

View File

@ -25,7 +25,7 @@ CREATE TABLE llx_ecm_files
entity integer DEFAULT 1 NOT NULL, -- multi company id
filepath varchar(255) NOT NULL, -- relative to dolibarr document dir. Example module/def
filename varchar(255) NOT NULL, -- file name only without any directory
src_object_type varchar(32), -- Source object type ('proposal', 'invoice', ...)
src_object_type varchar(64), -- Source object type ('proposal', 'invoice', ...)
src_object_id integer, -- Source object id
fullpath_orig varchar(750), -- full path of original filename, when file is uploaded from a local computer
description text,