create table llx_categorie_fournisseur
(
  fk_categorie  integer NOT NULL,
  fk_societe    integer NOT NULL,
  UNIQUE (fk_categorie, fk_societe)
)type=innodb;

create table llx_fournisseur_categorie
(
  rowid         integer AUTO_INCREMENT PRIMARY KEY,
  label         varchar(255)

)type=innodb;
This commit is contained in:
Rodolphe Quiedeville 2006-12-09 21:16:35 +00:00
parent 6d3ac2b2c5
commit 6fc3731af9

View File

@ -505,3 +505,18 @@ ALTER TABLE llx_boxes ADD INDEX idx_boxes_boxid (box_id);
-- V4 ALTER TABLE llx_boxes ADD CONSTRAINT fk_boxes_box_id FOREIGN KEY (box_id) REFERENCES llx_boxes_def (rowid);
ALTER TABLE llx_boxes ADD INDEX idx_boxes_fk_user (fk_user);
create table llx_categorie_fournisseur
(
fk_categorie integer NOT NULL,
fk_societe integer NOT NULL,
UNIQUE (fk_categorie, fk_societe)
)type=innodb;
create table llx_fournisseur_categorie
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
label varchar(255)
)type=innodb;