blob: ead50153669ae35d8376d23aa23e0d361a3e4f59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* @see https://gitlab.studip.de/studip/studip/-/issues/6048
*/
final class FixWikiVersionsNameLength extends Migration
{
public function description()
{
return 'Changes the length of column wiki_versions.name to match wiki_pages.name';
}
protected function up()
{
$query = "ALTER TABLE `wiki_versions`
MODIFY COLUMN `name` VARCHAR(255) NOT NULL";
DBManager::get()->exec($query);
}
}
|