2
0
forked from Wavyzz/dolibarr

Fix: Le nom des index gnrs pour pgsql inclus la table car sous pgsql on un nom d'index doit etre unique pour toute la base (sous mysql, unique par table)

Fix: Corrige problme de quot sur UNIQUE
This commit is contained in:
Laurent Destailleur
2005-03-04 22:43:16 +00:00
parent 41e2311770
commit 261d9c63fc
37 changed files with 96 additions and 60 deletions

View File

@@ -36,7 +36,8 @@ create table llx_const
"value" text, -- max 65535 caracteres
"type" varchar(6) CHECK (type IN ('yesno','texte','chaine')) ,
"visible" smallint DEFAULT 1 NOT NULL,
"note" text
"note" text,
UNIQUE(name)
);
CREATE INDEX idx_name ON llx_const (name);
CREATE INDEX idx_llx_const_name ON llx_const (name);