2
0
forked from Wavyzz/dolibarr

Fix: Index de table non nomme provoque creation en n instances doublons

This commit is contained in:
Laurent Destailleur
2007-12-11 01:33:37 +00:00
parent 4950c0dbb4
commit 858ad3e320
2 changed files with 9 additions and 1 deletions

View File

@@ -8,6 +8,14 @@
-- sans AUCUNE erreur ni warning -- sans AUCUNE erreur ni warning
-- --
alter table llx_commande_fournisseur_dispatch drop index fk_commande;
alter table llx_commande_fournisseur_dispatch drop index fk_commande_2;
alter table llx_commande_fournisseur_dispatch drop index fk_commande_3;
alter table llx_commande_fournisseur_dispatch drop index fk_commande_4;
alter table llx_commande_fournisseur_dispatch drop index fk_commande_5;
ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX idx_commande_fournisseur_dispatch_fk_commande (fk_commande);
alter table llx_categorie add column type tinyint DEFAULT 1 NOT NULL; alter table llx_categorie add column type tinyint DEFAULT 1 NOT NULL;

View File

@@ -18,4 +18,4 @@
-- $Id$ -- $Id$
-- =================================================================== -- ===================================================================
ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande); ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX idx_commande_fournisseur_dispatch_fk_commande (fk_commande);