diff --git a/html/admin/sql/patch/upgrade6.sql b/html/admin/sql/patch/upgrade6.sql
index 4ae5a7804..ea425e650 100644
--- a/html/admin/sql/patch/upgrade6.sql
+++ b/html/admin/sql/patch/upgrade6.sql
@@ -1,7 +1,8 @@
-
+begin;
--make sure that p_start < p_end
ALTER TABLE parm_periode ADD CHECK (p_end >= p_start);
insert into tva_rate values (5,'0%',0, 'Pas soumis à la TVA',null);
update version set val=7;
+commit;
\ No newline at end of file