Merge pull request #25034 from vold-lu/bump-reception-ref-supplier

FIX: Bump length of llx_reception.ref_supplier to 255
This commit is contained in:
Laurent Destailleur 2023-06-10 11:04:06 +02:00 committed by GitHub
commit 2180d89727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -466,3 +466,7 @@ ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_statut (statut);
-- VMYSQL4.1 DROP INDEX uk_actioncomm_ref on llx_actioncomm;
-- VPGSQL8.2 DROP INDEX uk_actioncomm_ref;
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref (ref, entity);
-- Bump llx_reception.ref_supplier to allow up to 255 characters to match llx_commande_fournisseur.ref_supplier.
-- See: https://github.com/Dolibarr/dolibarr/pull/25034
ALTER TABLE llx_reception MODIFY COLUMN ref_supplier varchar(255);

View file

@ -29,7 +29,7 @@ create table llx_reception
fk_projet integer DEFAULT NULL,
ref_ext varchar(30), -- reference into an external system (not used by dolibarr)
ref_supplier varchar(128), -- supplier number
ref_supplier varchar(255), -- supplier number
date_creation datetime, -- date de creation
fk_user_author integer, -- author of creation