[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/pgsql/ -> drop-constraints.sql (source)

   1  -- ============================================================================
   2  -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
   3  --
   4  -- This program is free software; you can redistribute it and/or modify
   5  -- it under the terms of the GNU General Public License as published by
   6  -- the Free Software Foundation; either version 2 of the License, or
   7  -- (at your option) any later version.
   8  --
   9  -- This program is distributed in the hope that it will be useful,
  10  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  -- GNU General Public License for more details.
  13  --
  14  -- You should have received a copy of the GNU General Public License
  15  -- along with this program; if not, write to the Free Software
  16  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17  --
  18  -- Ce fichier sert a effacer les contraintes sur les tables de la database
  19  --
  20  -- $Id: drop-constraints.sql,v 1.3 2004/07/12 19:57:29 opensides Exp $
  21  -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/drop-constraints.sql,v $
  22  --
  23  -- ============================================================================
  24  
  25  ALTER TABLE llx_fichinter    DROP CONSTRAINT "fichinter_fk_soc_idp";
  26  
  27  ALTER TABLE llx_propal        DROP CONSTRAINT "propal_fk_soc_idp";
  28  
  29  ALTER TABLE llx_facture        DROP CONSTRAINT "facture_fk_soc_idp";
  30  
  31  ALTER TABLE llx_facturedet    DROP CONSTRAINT "facturedet_fk_facture_rowid";
  32  
  33  ALTER TABLE llx_facture_tva_sum    DROP CONSTRAINT "facture_tva_sum_fk_facture_rowid";
  34  
  35  ALTER TABLE llx_socpeople    DROP CONSTRAINT "socpeople_fk_soc_idp";
  36  
  37  ALTER TABLE llx_paiement_facture DROP CONSTRAINT "paiement_facture_fk_facture";
  38  
  39  ALTER TABLE llx_paiement_facture DROP CONSTRAINT "paiement_facture_fk_paiement";
  40  
  41  ALTER TABLE llx_c_departements   DROP CONSTRAINT "c_departements_fk_region";
  42  
  43  ALTER TABLE llx_c_regions        DROP CONSTRAINT "c_regions_fk_pays";


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics