From 6e566b888f969c3add90cb147c55f594939c11b0 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 6 Dec 2006 14:37:49 +0000 Subject: [PATCH] Nouveau fournisseur --- mysql/tables/llx_categorie_fournisseur.sql | 28 ++++++++++++++++++++++ mysql/tables/llx_fournisseur_categorie.sql | 28 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 mysql/tables/llx_categorie_fournisseur.sql create mode 100644 mysql/tables/llx_fournisseur_categorie.sql diff --git a/mysql/tables/llx_categorie_fournisseur.sql b/mysql/tables/llx_categorie_fournisseur.sql new file mode 100644 index 00000000000..bdf4c98b5c3 --- /dev/null +++ b/mysql/tables/llx_categorie_fournisseur.sql @@ -0,0 +1,28 @@ +-- ============================================================================ +-- Copyright (C) 2006 Rodolphe Quiedeville +-- +-- 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 +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- ============================================================================ + +create table llx_categorie_founisseur +( + fk_categorie integer NOT NULL, + fk_societe integer NOT NULL, + UNIQUE (fk_categorie, fk_societe) +)type=innodb; diff --git a/mysql/tables/llx_fournisseur_categorie.sql b/mysql/tables/llx_fournisseur_categorie.sql new file mode 100644 index 00000000000..de7eab9a78f --- /dev/null +++ b/mysql/tables/llx_fournisseur_categorie.sql @@ -0,0 +1,28 @@ +-- ============================================================================ +-- Copyright (C) 2006 Rodolphe Quiedeville +-- +-- 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 +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- ============================================================================ + +create table llx_founisseur_categorie +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + label varchar(255) + +)type=innodb;