Skip to content
Snippets Groups Projects
Commit 9844e948 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix collation for ancestor column in wiki, fixes #423

parent cb45e11a
No related branches found
No related tags found
No related merge requests found
<?php
class WikiAncestorCollation extends Migration
{
public function description()
{
return 'fix collation for ancestor column in wiki';
}
public function up()
{
$db = DBManager::get();
$db->exec('ALTER TABLE wiki CHANGE ancestor ancestor VARCHAR(255) COLLATE utf8mb4_bin DEFAULT 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