Skip to content

Commit 6f6e50c

Browse files
authored
Merge pull request #4 from nep/patch-1
Update mcp.emoji_support.php
2 parents 3a300f7 + 3b24e98 commit 6f6e50c

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

emoji_support/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ It's always good idea to check with the developer though, as it is possible that
3636

3737
## Change Log
3838

39+
### 2.1.1
40+
41+
- Skip exp_pro_search_index table.
42+
3943
### 2.1.0
4044

4145
- Added EE6 support

emoji_support/mcp.emoji_support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ protected function getAffectedIndicies()
181181
{
182182
$return = [];
183183

184-
$indicies = ee()->db->query("SELECT `TABLE_NAME`, `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA` = '" . ee()->db->database . "' AND `DATA_TYPE` REGEXP 'char|text' AND `CHARACTER_MAXIMUM_LENGTH` > 191 AND `COLUMN_KEY` <> '' AND `COLUMN_NAME` NOT IN ('url_title', 'cat_group');");
184+
$indicies = ee()->db->query("SELECT `TABLE_NAME`, `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA` = '" . ee()->db->database . "' AND `DATA_TYPE` REGEXP 'char|text' AND `CHARACTER_MAXIMUM_LENGTH` > 191 AND `COLUMN_KEY` <> '' AND TABLE_NAME != 'exp_pro_search_indexes' AND `COLUMN_NAME` NOT IN ('url_title', 'cat_group');");
185185
if ($indicies->num_rows())
186186
{
187187
// check to see if the associated index is also over 191 characters

emoji_support/upd.emoji_support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function install()
1616
{
1717
ee('Model')->make('Module', [
1818
'module_name' => 'Emoji_support',
19-
'module_version' => '1.0.2',
19+
'module_version' => '1.1.1',
2020
'has_cp_backend' => TRUE,
2121
'has_publish_fields' => FALSE
2222
])->save();

0 commit comments

Comments
 (0)