From f594f8424603b20065413d0301ceff25c918d94e Mon Sep 17 00:00:00 2001 From: Ysolyne Gresille Date: Thu, 21 Jun 2012 18:25:32 +0200 Subject: [PATCH] Fix table truncation order --- lib/classes/patch/370a7.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/patch/370a7.class.php b/lib/classes/patch/370a7.class.php index 10cbdd4faf..0983bbea44 100644 --- a/lib/classes/patch/370a7.class.php +++ b/lib/classes/patch/370a7.class.php @@ -59,10 +59,10 @@ class patch_370a7 implements patchInterface //order matters for foreign keys constraints //truncate all altered tables - $this->truncateTable($em, 'Entities\\LazaretFile'); - $this->truncateTable($em, 'Entities\\LazaretSession'); $this->truncateTable($em, 'Entities\\LazaretAttribute'); $this->truncateTable($em, 'Entities\\LazaretCheck'); + $this->truncateTable($em, 'Entities\\LazaretFile'); + $this->truncateTable($em, 'Entities\\LazaretSession'); $conn = $appbox->get_connection();