Merge pull request #20152 from aspangaro/16a12

Increase the length of the ref_supplier field
This commit is contained in:
Laurent Destailleur 2022-02-25 14:17:20 +01:00 committed by GitHub
commit d2a336d0a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -246,4 +246,8 @@ create table llx_inventory_extrafields
) ENGINE=innodb; ) ENGINE=innodb;
ALTER TABLE llx_inventory_extrafields ADD INDEX idx_inventory_extrafields (fk_object); ALTER TABLE llx_inventory_extrafields ADD INDEX idx_inventory_extrafields (fk_object);
ALTER TABLE llx_reception MODIFY COLUMN ref_supplier varchar(128);
ALTER TABLE llx_bank_account ADD COLUMN pti_in_ctti smallint DEFAULT 0 AFTER domiciliation; ALTER TABLE llx_bank_account ADD COLUMN pti_in_ctti smallint DEFAULT 0 AFTER domiciliation;

View File

@ -30,7 +30,7 @@ create table llx_reception
ref_ext varchar(30), -- reference into an external system (not used by dolibarr) ref_ext varchar(30), -- reference into an external system (not used by dolibarr)
ref_int varchar(30), -- reference into an internal system (deprecated) ref_int varchar(30), -- reference into an internal system (deprecated)
ref_supplier varchar(30), -- customer number ref_supplier varchar(128), -- supplier number
date_creation datetime, -- date de creation date_creation datetime, -- date de creation
fk_user_author integer, -- author of creation fk_user_author integer, -- author of creation