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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user