From 3c050376749ba3b03cc5bd66077b804fd88760ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20L=C3=B6hel?= Date: Wed, 7 Feb 2024 13:36:10 -0600 Subject: [PATCH] fix [INSTALL/MySQL]: Create table `user_login_profiles` only if it not exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: #9552 Signed-off-by: Jürgen Löhel --- INSTALL/MYSQL.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL/MYSQL.sql b/INSTALL/MYSQL.sql index 7b7dacf52..4a4a2114c 100644 --- a/INSTALL/MYSQL.sql +++ b/INSTALL/MYSQL.sql @@ -1428,7 +1428,7 @@ CREATE TABLE IF NOT EXISTS `users` ( -- Table structure for table `user_login_profiles` -- -CREATE TABLE `user_login_profiles` ( +CREATE TABLE IF NOT EXISTS `user_login_profiles` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `user_id` int(11) NOT NULL, @@ -1698,4 +1698,4 @@ INSERT IGNORE INTO `org_blocklists` (`org_uuid`, `created`, `org_name`, `comment INSERT IGNORE INTO `admin_settings` (`setting`, `value`) VALUES ('fix_login', NOW()), -('default_role', 3); \ No newline at end of file +('default_role', 3);