diff --git a/sql/trunk/07-fiche-def-ref.sql b/html/admin/sql/patch/upgrade75.sql
similarity index 98%
rename from sql/trunk/07-fiche-def-ref.sql
rename to html/admin/sql/patch/upgrade75.sql
index 66f277882..bb4f58052 100644
--- a/sql/trunk/07-fiche-def-ref.sql
+++ b/html/admin/sql/patch/upgrade75.sql
@@ -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;
diff --git a/include/constant.php b/include/constant.php
index 2b1da5fba..8ffa214ed 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -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);
diff --git a/sql/trunk/08-pk-attr_min.sqk b/sql/trunk/08-pk-attr_min.sqk
deleted file mode 100644
index 12396353a..000000000
--- a/sql/trunk/08-pk-attr_min.sqk
+++ /dev/null
@@ -1,3 +0,0 @@
-begin;
-alter table attr_min add constraint frd_ad_attr_min_pk primary key (frd_id,ad_id);
-commit;