From 63da85798e543b59364bea7dbd399408a43c4ad1 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 26 Aug 2019 16:10:06 +0200 Subject: [PATCH] Change mr --- pandora_console/extras/30.sql | 7 ------- pandora_console/extras/mr/31.sql | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 pandora_console/extras/30.sql diff --git a/pandora_console/extras/30.sql b/pandora_console/extras/30.sql deleted file mode 100644 index eb6650dc5a..0000000000 --- a/pandora_console/extras/30.sql +++ /dev/null @@ -1,7 +0,0 @@ -START TRANSACTION; - -UPDATE `tlayout_data` SET `height` = 70 , `width` = 70 WHERE `height` = 0 && `width` = 0 && ((`type` IN (0,5)) || -(`type` = 10 && `image` IS NOT NULL && `image` != '' && `image` != 'none') || -(`type` = 11 && `image` IS NOT NULL && `image` != '' && `image` != 'none' && `show_statistics` = 0)); - -COMMIT; \ No newline at end of file diff --git a/pandora_console/extras/mr/31.sql b/pandora_console/extras/mr/31.sql index 3e527bff53..0d6e69bf2a 100644 --- a/pandora_console/extras/mr/31.sql +++ b/pandora_console/extras/mr/31.sql @@ -9,4 +9,8 @@ DELETE FROM `tconfig` WHERE `token` LIKE 'integria_api_password'; DELETE FROM `tconfig` WHERE `token` LIKE 'integria_inventory'; DELETE FROM `tconfig` WHERE `token` LIKE 'integria_url'; +UPDATE `tlayout_data` SET `height` = 70 , `width` = 70 WHERE `height` = 0 && `width` = 0 && ((`type` IN (0,5)) || +(`type` = 10 && `image` IS NOT NULL && `image` != '' && `image` != 'none') || +(`type` = 11 && `image` IS NOT NULL && `image` != '' && `image` != 'none' && `show_statistics` = 0)); + COMMIT; \ No newline at end of file