diff --git a/lhc_web/modules/lhinstall/install.php b/lhc_web/modules/lhinstall/install.php index 1b0b93a33..bae13fb0c 100644 --- a/lhc_web/modules/lhinstall/install.php +++ b/lhc_web/modules/lhinstall/install.php @@ -533,11 +533,11 @@ `close_image_path` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, `popup_image` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, `popup_image_path` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, - `hide_close` int(11) NOT NULL, - `hide_popup` int(11) NOT NULL, - `header_height` int(11) NOT NULL, - `header_padding` int(11) NOT NULL, - `widget_border_width` int(11) NOT NULL, + `hide_close` int(11) NOT NULL DEFAULT 0, + `hide_popup` int(11) NOT NULL DEFAULT 0, + `header_height` int(11) NOT NULL DEFAULT 0, + `header_padding` int(11) NOT NULL DEFAULT 0, + `widget_border_width` int(11) NOT NULL DEFAULT 0, `support_joined` text COLLATE utf8mb4_unicode_ci NOT NULL, `support_closed` text COLLATE utf8mb4_unicode_ci NOT NULL, `pending_join` text COLLATE utf8mb4_unicode_ci NOT NULL, @@ -557,9 +557,9 @@ `custom_popup_css` text COLLATE utf8mb4_unicode_ci NOT NULL, `hide_ts` tinyint(1) unsigned NOT NULL DEFAULT 0, `hide_op_ts` tinyint(1) unsigned NOT NULL DEFAULT 0, - `widget_response_width` int(11) NOT NULL, - `show_need_help_delay` int(11) NOT NULL, - `show_status_delay` int(11) NOT NULL, + `widget_response_width` int(11) NOT NULL DEFAULT 0, + `show_need_help_delay` int(11) NOT NULL DEFAULT 0, + `show_status_delay` int(11) NOT NULL DEFAULT 0, `modern_look` tinyint(1) NOT NULL DEFAULT 0, `bot_status_text` text COLLATE utf8mb4_unicode_ci NOT NULL, `bot_configuration` longtext COLLATE utf8mb4_unicode_ci NOT NULL, @@ -1811,19 +1811,19 @@ `inform_options` varchar(250) NOT NULL, `online_hours_active` tinyint(1) NOT NULL, `inform_delay` int(11) NOT NULL, - `attr_int_1` int(11) NOT NULL, - `attr_int_2` int(11) NOT NULL, - `attr_int_3` int(11) NOT NULL, + `attr_int_1` int(11) NOT NULL DEFAULT '0', + `attr_int_2` int(11) NOT NULL DEFAULT '0', + `attr_int_3` int(11) NOT NULL DEFAULT '0', `pending_max` int(11) NOT NULL, `pending_group_max` int(11) NOT NULL, - `active_chats_counter` int(11) NOT NULL, + `active_chats_counter` int(11) NOT NULL DEFAULT '0', `inactive_chats_cnt` int(11) NOT NULL DEFAULT '0', - `pending_chats_counter` int(11) NOT NULL, + `pending_chats_counter` int(11) NOT NULL DEFAULT '0', `bot_chats_counter` int(11) NOT NULL DEFAULT '0', `inop_chats_cnt` int(11) NOT NULL DEFAULT '0', `acop_chats_cnt` int(11) NOT NULL DEFAULT '0', - `inform_close_all` int(11) NOT NULL, - `inform_close_all_email` varchar(250) NOT NULL, + `inform_close_all` int(11) NOT NULL DEFAULT '0', + `inform_close_all_email` varchar(250) NOT NULL DEFAULT '0', `alias` varchar(50) NOT NULL, `product_configuration` longtext NOT NULL, `bot_configuration` text NOT NULL,