2
0
forked from Wavyzz/dolibarr

Ajout champ fk_user pour permettre evol future de boites selon le user

This commit is contained in:
Laurent Destailleur
2006-08-16 22:21:23 +00:00
parent 4c4627b8eb
commit d6bd92f19f
2 changed files with 7 additions and 3 deletions

View File

@@ -336,6 +336,7 @@ alter table llx_user add column ldap_sid varchar(255) DEFAULT NULL;
alter table llx_user add column statut tinyint DEFAULT 1;
alter table llx_user add column lang varchar(6);
alter table llx_boxes add column fk_user integer;
alter table llx_commande_fournisseur drop column fk_soc_contact;
alter table llx_commande drop column fk_soc_contact;
@@ -360,3 +361,5 @@ ALTER TABLE llx_categorie_product ADD CONSTRAINT fk_categorie_product_categorie_
ALTER TABLE llx_categorie_product ADD CONSTRAINT fk_categorie_product_product_rowid FOREIGN KEY (fk_product) REFERENCES llx_product (rowid);
ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product);

View File

@@ -20,8 +20,8 @@
--
-- ===========================================================================
--
-- position : 0-index.php, 1-left, 2-right
--
-- position : 0-index.php, 1-left, 2-right
-- box_order : Box sort order
--
create table llx_boxes
@@ -29,5 +29,6 @@ create table llx_boxes
rowid integer AUTO_INCREMENT PRIMARY KEY,
box_id integer NOT NULL,
position smallint NOT NULL,
box_order smallint default 0 NOT NULL
box_order smallint default 0 NOT NULL,
fk_user integer
)type=innodb;