Skip to content

Commit

Permalink
Merge pull request #66 from funktechno/f/mysql_emoji_suppot
Browse files Browse the repository at this point in the history
mysl emoji fix
  • Loading branch information
lastlink authored Jul 19, 2024
2 parents d190b14 + 3d2bc69 commit 0aa1080
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
Version 0.3.3
Improvements:

* mysql character set update for emojis
* synfony deprecation fix
* public wiki link to board
* added Ukrainian translation

Bug fixes:

* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/39
* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/60
* Fix https://github.com/funktechno/kanboard-plugin-wiki/issues/56
* Fix `'max_size' => get_upload_max_size(),`
Expand Down
13 changes: 12 additions & 1 deletion Schema/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@

use PDO;

const VERSION = 8;
const VERSION = 9;

/**
* Allow unicode emojis in wikipages
* @param PDO $pdo
*/
function version_9(PDO $pdo)
{
$pdo->exec('ALTER TABLE wikipage CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
$pdo->exec('ALTER TABLE wikipage_editions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
$pdo->exec('ALTER TABLE wikipage_has_files CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
}

function version_8(PDO $pdo)
{
Expand Down

0 comments on commit 0aa1080

Please sign in to comment.