From aac06d1c0fc9e176254a064c9ee83706e839335f Mon Sep 17 00:00:00 2001 From: pek5892 Date: Wed, 5 Jun 2024 12:48:27 +0200 Subject: [PATCH] Fix tabella zz_groups --- update/2_5_3.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 update/2_5_3.php diff --git a/update/2_5_3.php b/update/2_5_3.php new file mode 100644 index 000000000..4f7bf8fcf --- /dev/null +++ b/update/2_5_3.php @@ -0,0 +1,11 @@ +columnExists('zz_groups', 'nome'); +$has_name = database()->columnExists('zz_groups', 'name'); + +if ($has_name && $has_nome) { + $database->query('ALTER TABLE `zz_groups` DROP `name`'); +} \ No newline at end of file