Skip to content

Commit

Permalink
Fix: [ bug #1517 ] Packages sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 2, 2014
1 parent ea310ef commit de52736
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
11 changes: 10 additions & 1 deletion htdocs/install/mysql/migration/3.5.0-3.6.0.sql
Expand Up @@ -18,6 +18,15 @@
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);





ALTER TABLE llx_expedition MODIFY COLUMN height float;
ALTER TABLE llx_expedition MODIFY COLUMN width float;
ALTER TABLE llx_expedition MODIFY COLUMN size float;
ALTER TABLE llx_expedition MODIFY COLUMN weight float;


ALTER TABLE llx_societe DROP COLUMN datea;

ALTER TABLE llx_holiday ADD COLUMN fk_user_create integer;
Expand Down Expand Up @@ -1663,4 +1672,4 @@ INSERT INTO llx_accountingaccount (rowid, fk_pcg_version, pcg_type, pcg_subtype,
-- Fix: Missing instruction not correctly done into 3.5
-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_mode_reglement DROP NOT NULL;
-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_cond_reglement DROP NOT NULL;

10 changes: 5 additions & 5 deletions htdocs/install/mysql/tables/llx_expedition.sql
Expand Up @@ -41,13 +41,13 @@ create table llx_expedition
fk_shipping_method integer,
tracking_number varchar(50),
fk_statut smallint DEFAULT 0,
height integer, -- height
width integer, -- with

height float, -- height
width float, -- with
size_units integer, -- unit of all sizes (height, width, depth)
size integer, -- depth
size float, -- depth
weight_units integer, -- unit of weight
weight integer, -- weight
weight float, -- weight
note_private text,
note_public text,
model_pdf varchar(255)
Expand Down

0 comments on commit de52736

Please sign in to comment.