mirror of https://github.com/MISP/MISP
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
parent
90126dc1dd
commit
3c05037674
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue