integrate SQL patch

attr_min has now a PK
fiche_def_ref.frd_class is the type account_type
This commit is contained in:
Dany De Bontridder 2010-05-12 13:49:05 +00:00
parent 3fe5e41181
commit b7208b3803
3 changed files with 4 additions and 4 deletions

View file

@ -149,5 +149,8 @@ create view vw_supplier as
JOIN attr_value USING (jft_id)
WHERE jnt_fic_att_value.ad_id = 18) h USING (f_id)
WHERE a.frd_id = 8;
alter table attr_min add constraint frd_ad_attr_min_pk primary key (frd_id,ad_id);
update version set val=76;
commit;

View file

@ -26,7 +26,7 @@
require_once ('config.inc.php');
require_once('constant.security.php');
define ("DBVERSION",75);
define ("DBVERSION",76);
define ("MAX_COMPTE",4);
define ('MAX_ARTICLE',9);

View file

@ -1,3 +0,0 @@
begin;
alter table attr_min add constraint frd_ad_attr_min_pk primary key (frd_id,ad_id);
commit;