From cd88ea5dc6a83eea75304a0ea5d371f50fdc8b90 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Fri, 27 Feb 2026 13:55:36 +0000 Subject: [PATCH] Fixes for 4 code quality findings (#3268) * Apply suggested fix to src/install/sql/structure.sql from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to src/install/sql/structure.sql from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to src/install/sql/structure.sql from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to src/install/sql/structure.sql from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/install/sql/structure.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/install/sql/structure.sql b/src/install/sql/structure.sql index aedf01f90..d7772f231 100644 --- a/src/install/sql/structure.sql +++ b/src/install/sql/structure.sql @@ -64,7 +64,7 @@ CREATE TABLE `activity_client_history` ( `created_at` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `client_id_idx` (`client_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -84,7 +84,7 @@ CREATE TABLE `activity_system` ( PRIMARY KEY (`id`), KEY `admin_id_idx` (`admin_id`), KEY `client_id_idx` (`client_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -145,7 +145,7 @@ CREATE TABLE `admin_password_reset` ( `updated_at` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `admin_id_idx` (`admin_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1074,7 +1074,7 @@ CREATE TABLE `service_hosting_server` ( `username` text, `password` text, `accesshash` text, - `password_length` tinyint DEFAULT NULL, + `password_length` tinyint(4) DEFAULT NULL, `port` varchar(20) DEFAULT NULL, `config` text, `secure` tinyint(1) DEFAULT NULL,