add index to avoid duplicate quickcode

This commit is contained in:
Dany De Bontridder 2011-10-22 20:19:19 +00:00
parent 092e22f0e6
commit a00f0136cc

View file

@ -14,4 +14,4 @@ tmp_pcmn_alphanum_ins_upd.sql
tmp_pcmn_ins.sql
trigger.tmp_pcmn.sql
*/
create unique index test_qcode_idx on fiche_detail (ad_value) where ad_id=23;
create unique index qcode_idx on fiche_detail (ad_value) where ad_id=23;