Fixed rest of the migrations

This commit is contained in:
slawkens
2024-11-08 10:52:28 +01:00
parent dead8e4043
commit 92de3950a1
6 changed files with 19 additions and 17 deletions

View File

@@ -3,7 +3,7 @@
* @var OTS_DB_MySQL $db
*/
$up = function ($db) {
$up = function () use ($db) {
if ($db->hasTable(TABLE_PREFIX . 'forum_sections')) {
$db->renameTable(TABLE_PREFIX . 'forum_sections', TABLE_PREFIX . 'forum_boards');
}