mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Ajout champ fk_user pour permettre evol future de boites selon le user
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user