aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-08-07 09:57:52 +0200
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-08-07 11:08:08 +0200
commitae47327b938d4537f95eb5e3f485e0aa95c46559 (patch)
treeecd33918391cb67cbb8dac3aed1fc2e5a06a83e4 /db
parent660d0eed2de5dba44375437bd27564b8012016d4 (diff)
fix in sql in down path of migrations, re #5313, re #5770
Merge request studip/studip!4416
Diffstat (limited to 'db')
-rw-r--r--db/migrations/5.3.29_add_index_blubber_comments_mkdate.php2
-rw-r--r--db/migrations/5.5.33_add_index_wikipages_parentid.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrations/5.3.29_add_index_blubber_comments_mkdate.php b/db/migrations/5.3.29_add_index_blubber_comments_mkdate.php
index 1d7ed7a..70c6655 100644
--- a/db/migrations/5.3.29_add_index_blubber_comments_mkdate.php
+++ b/db/migrations/5.3.29_add_index_blubber_comments_mkdate.php
@@ -15,6 +15,6 @@ class AddIndexBlubberCommentsMkdate extends Migration
public function down()
{
- DBManager::get()->exec("ALTER TABLE `blubber_comments` DROP INDEX (`mkdate`)");
+ DBManager::get()->exec("ALTER TABLE `blubber_comments` DROP INDEX `mkdate`");
}
}
diff --git a/db/migrations/5.5.33_add_index_wikipages_parentid.php b/db/migrations/5.5.33_add_index_wikipages_parentid.php
index bcbda7e..d9926b6 100644
--- a/db/migrations/5.5.33_add_index_wikipages_parentid.php
+++ b/db/migrations/5.5.33_add_index_wikipages_parentid.php
@@ -15,6 +15,6 @@ class AddIndexWikipagesParentid extends Migration
public function down()
{
- DBManager::get()->exec("ALTER TABLE `wiki_pages` DROP INDEX (`parent_id`)");
+ DBManager::get()->exec("ALTER TABLE `wiki_pages` DROP INDEX `parent_id`");
}
}