Skip to content

Commit b161582

Browse files
committed
Update Mysql Schema
1 parent 815fe4e commit b161582

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Schema/Mysql.php

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

55
use PDO;
66

7-
const VERSION = 2;
7+
const VERSION = 3;
8+
9+
function version_3(PDO $pdo)
10+
{
11+
$pdo->exec('ALTER TABLE multiselect CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
12+
$pdo->exec('ALTER TABLE multiselect_has_users CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
13+
}
814

915
function version_2(PDO $pdo)
1016
{

0 commit comments

Comments
 (0)