Skip to content

Commit

Permalink
Merge pull request #1716 from LiveHelperChat/master-identifier-depart…
Browse files Browse the repository at this point in the history
…ment

Support alias for theme and department
  • Loading branch information
remdex committed Nov 28, 2021
2 parents e4ff28a + 3bd59d0 commit cb1912c
Show file tree
Hide file tree
Showing 85 changed files with 419 additions and 460 deletions.
6 changes: 5 additions & 1 deletion lhc_web/cli/lib/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ function step3() {
`show_voting` tinyint(1) NOT NULL DEFAULT '1',
`department_title` varchar(250) NOT NULL,
`department_select` varchar(250) NOT NULL,
`alias` varchar(50) NOT NULL,
`buble_visitor_background` varchar(250) NOT NULL,
`buble_visitor_title_color` varchar(250) NOT NULL,
`buble_visitor_text_color` varchar(250) NOT NULL,
Expand All @@ -413,7 +414,8 @@ function step3() {
`widget_position` varchar(50) NOT NULL,
`widget_pright` int(11) NOT NULL,
`widget_pbottom` int(11) NOT NULL,
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `alias` (`alias`)
) ENGINE=InnoDB CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;");

$db->query("CREATE TABLE IF NOT EXISTS `lh_faq` (
Expand Down Expand Up @@ -1553,6 +1555,7 @@ function step3() {
`acop_chats_cnt` int(11) NOT NULL DEFAULT '0',
`inform_close_all` int(11) NOT NULL,
`inform_close_all_email` varchar(250) NOT NULL,
`alias` varchar(50) NOT NULL,
`product_configuration` longtext NOT NULL,
`bot_configuration` text NOT NULL,
PRIMARY KEY (`id`),
Expand All @@ -1566,6 +1569,7 @@ function step3() {
KEY `bot_chats_counter` (`bot_chats_counter`),
KEY `disabled_hidden` (`disabled`, `hidden`),
KEY `sort_priority_name` (`sort_priority`, `name`),
KEY `alias` (`alias`),
KEY `active_mod` (`online_hours_active`,`mod_start_hour`,`mod_end_hour`),
KEY `active_tud` (`online_hours_active`,`tud_start_hour`,`tud_end_hour`),
KEY `active_wed` (`online_hours_active`,`wed_start_hour`,`wed_end_hour`),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb1912c

Please sign in to comment.