-- ========================================================================
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- 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: llx_telephonie_analyse_fournisseur.sql,v 1.1 2005/07/27 13:13:43 rodolphe Exp $
-- $Source: /srv/cvs/sources/dolibarr/dolibarr/htdocs/telephonie/sql/Attic/llx_telephonie_analyse_fournisseur.sql,v $
--
-- ========================================================================

create table llx_telephonie_analyse_fournisseur (
  rowid           integer AUTO_INCREMENT PRIMARY KEY,
  fk_fournisseur  integer NOT NULL,
  mois            varchar(6),
  achat           real,
  vente           real,
  
  fk_tarif_grille integer,

  UNIQUE(fk_fournisseur, mois)

)type=innodb;
