From a47ef63431a1d65389272edcec92638e4cc69344 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Thu, 12 May 2022 07:32:24 +0000 Subject: [PATCH] Use MySQL compatible sql, re #758 --- db/migrations/5.2.7_add_comment_to_help_content.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrations/5.2.7_add_comment_to_help_content.php b/db/migrations/5.2.7_add_comment_to_help_content.php index 38d3f7a8672..d87366d7bf9 100644 --- a/db/migrations/5.2.7_add_comment_to_help_content.php +++ b/db/migrations/5.2.7_add_comment_to_help_content.php @@ -12,7 +12,7 @@ class AddCommentToHelpContent extends Migration protected function up() { DBManager::get()->exec( - "ALTER IGNORE TABLE `help_content` + "ALTER TABLE `help_content` ADD COLUMN comment TEXT NULL" ); } @@ -21,7 +21,7 @@ class AddCommentToHelpContent extends Migration protected function down() { DBManager::get()->exec( - "ALTER IGNORE TABLE `help_content` + "ALTER TABLE `help_content` DROP COLUMN comment" ); } -- GitLab