Added feeds.title as a utf8mb4 column

This commit is contained in:
Mitchell Hewes 2017-01-24 09:20:45 +11:00
parent 37bb24d5ee
commit 806b70dfd4
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ function version_2(PDO $pdo)
$pdo->exec('ALTER TABLE items CHANGE title title TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL');
$pdo->exec('ALTER TABLE items CHANGE author author TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
$pdo->exec('ALTER TABLE items CHANGE content content LONGTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
$pdo->exec('ALTER TABLE feeds CHANGE title title VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci');
}
function version_1(PDO $pdo)