Skip to content
Snippets Groups Projects
Commit b7f0f8bc authored by Philipp Schüttlöffel's avatar Philipp Schüttlöffel Committed by Jan-Hendrik Willms
Browse files

Resolve "Mailqueue kaputt"

Closes #1134

Merge request studip/studip!1886
parent 5f9f4f92
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @see https://gitlab.studip.de/studip/studip/-/issues/1134
*/
final class EnlargeMailqueue extends Migration
{
public function description()
{
return 'alters mail_queue_entries.mail to MEDIUMTEXT since TEXT is too short';
}
protected function up()
{
DBManager::get()->exec("ALTER TABLE `mail_queue_entries` MODIFY `mail` MEDIUMTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL");
}
protected function down()
{
DBManager::get()->exec("ALTER TABLE `mail_queue_entries` MODIFY `mail` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment