Skip to content

Commit 0aa1080

Browse files
authored
Merge pull request #66 from funktechno/f/mysql_emoji_suppot
mysl emoji fix
2 parents d190b14 + 3d2bc69 commit 0aa1080

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

ChangeLog

+2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
Version 0.3.3
22
Improvements:
33

4+
* mysql character set update for emojis
45
* synfony deprecation fix
56
* public wiki link to board
67
* added Ukrainian translation
78

89
Bug fixes:
910

11+
* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/39
1012
* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/60
1113
* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/56
1214
* Fix `'max_size' => get_upload_max_size(),`

Schema/Mysql.php

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@
44

55
use PDO;
66

7-
const VERSION = 8;
7+
const VERSION = 9;
8+
9+
/**
10+
* Allow unicode emojis in wikipages
11+
* @param PDO $pdo
12+
*/
13+
function version_9(PDO $pdo)
14+
{
15+
$pdo->exec('ALTER TABLE wikipage CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
16+
$pdo->exec('ALTER TABLE wikipage_editions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
17+
$pdo->exec('ALTER TABLE wikipage_has_files CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
18+
}
819

920
function version_8(PDO $pdo)
1021
{

0 commit comments

Comments
 (0)