Modif creation de l'index
This commit is contained in:
parent
d9ab9e01a1
commit
8a9b763ee0
@ -23,7 +23,8 @@
|
||||
create table llx_album_to_groupart
|
||||
(
|
||||
fk_album integer NOT NULL,
|
||||
fk_groupart integer NOT NULL
|
||||
fk_groupart integer NOT NULL,
|
||||
|
||||
unique key(fk_album, fk_groupart)
|
||||
);
|
||||
|
||||
alter table llx_album_to_groupart add unique key (fk_album, fk_groupart);
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
create table llx_livre_to_auteur
|
||||
(
|
||||
fk_livre integer NOT NULL,
|
||||
fk_auteur integer NOT NULL
|
||||
);
|
||||
fk_auteur integer NOT NULL,
|
||||
|
||||
alter table llx_livre_to_auteur add unique key (fk_livre, fk_auteur);
|
||||
unique index (fk_livre, fk_auteur)
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user