fix [INSTALL/MySQL]: Create table `user_login_profiles` only if it not exists

fixes: #9552

Signed-off-by: Jürgen Löhel <juergen.loehel@inlyse.com>
pull/9553/head
Jürgen Löhel 2024-02-07 13:36:10 -06:00
parent 90126dc1dd
commit 3c05037674
No known key found for this signature in database
GPG Key ID: 54E44C4D345DD098
1 changed files with 2 additions and 2 deletions

View File

@ -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);
('default_role', 3);