Fix: compatibility with multicompany transverse mode

This commit is contained in:
Regis Houssin
2012-09-07 17:16:47 +02:00
parent ab5e4db9c0
commit 5270ec06cb
9 changed files with 65 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
-- ============================================================================
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2006-2012 Laurent Destailleur <eldy@users.sourceforge.net>
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2006-2012 Laurent Destailleur <eldy@users.sourceforge.net>
-- Copyright (C) 2006-2012 Regis Houssin <regis@dolibarr.fr>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -24,10 +25,12 @@
create table llx_boxes
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
box_id integer NOT NULL,
position smallint NOT NULL,
box_order varchar(3) NOT NULL,
fk_user integer default 0 NOT NULL,
maxline integer NULL
rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer NOT NULL DEFAULT 1,
box_id integer NOT NULL,
position smallint NOT NULL,
box_order varchar(3) NOT NULL,
fk_user integer default 0 NOT NULL,
maxline integer NULL
)ENGINE=innodb;