From f6dd30ad30f8b0209cda885c8eb1a3d6aaab4ba6 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 11 Dec 2006 17:39:39 +0000 Subject: [PATCH] Nouveau fichier --- .../llx_commande_fournisseur_dispatch.key.sql | 22 +++++++++++++ .../llx_commande_fournisseur_dispatch.sql | 31 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 mysql/tables/llx_commande_fournisseur_dispatch.key.sql create mode 100644 mysql/tables/llx_commande_fournisseur_dispatch.sql diff --git a/mysql/tables/llx_commande_fournisseur_dispatch.key.sql b/mysql/tables/llx_commande_fournisseur_dispatch.key.sql new file mode 100644 index 00000000000..bba86907d1f --- /dev/null +++ b/mysql/tables/llx_commande_fournisseur_dispatch.key.sql @@ -0,0 +1,22 @@ +-- =================================================================== +-- 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$ +-- =================================================================== + +ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande); \ No newline at end of file diff --git a/mysql/tables/llx_commande_fournisseur_dispatch.sql b/mysql/tables/llx_commande_fournisseur_dispatch.sql new file mode 100644 index 00000000000..0c2727d8d39 --- /dev/null +++ b/mysql/tables/llx_commande_fournisseur_dispatch.sql @@ -0,0 +1,31 @@ +-- =================================================================== +-- 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_commande_fournisseur_dispatch +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_commande integer, + fk_product integer, + qty float, -- quantité + fk_entrepot integer, + fk_user integer, + datec datetime +)type=innodb;