From a2f4ef7447796593d1473d5938ba81348402c7e3 Mon Sep 17 00:00:00 2001 From: Murtaza Sultani Date: Tue, 17 Sep 2024 16:40:49 +0200 Subject: Update migration number --- db/migrations/6.0.14_tic_4529.php | 35 ----------------------------------- db/migrations/6.0.18_tic_4529.php | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 db/migrations/6.0.14_tic_4529.php create mode 100644 db/migrations/6.0.18_tic_4529.php diff --git a/db/migrations/6.0.14_tic_4529.php b/db/migrations/6.0.14_tic_4529.php deleted file mode 100644 index dac40dd..0000000 --- a/db/migrations/6.0.14_tic_4529.php +++ /dev/null @@ -1,35 +0,0 @@ -delete("MAIL_USE_SUBJECT_PREFIX"); - - Config::get()->create("MAIL_SUBJECT_PREFIX", array( - 'value' => "[Stud.IP]", - 'type' => "string", - 'range' => "global", - 'section' => "global", - 'description' => "Stellt dem Titel von per Mail versandten Nachrichten, wenn UNI_NAME_CLEAN leer ist." - )); - } - - public function down() - { - Config::get()->delete("MAIL_SUBJECT_PREFIX"); - - Config::get()->create("MAIL_USE_SUBJECT_PREFIX", array( - 'value' => "1", - 'type' => "boolean", - 'range' => "global", - 'section' => "global", - 'description' => "Stellt dem Titel von per Mail versandten Nachrichten den Wert von UNI_NAME_CLEAN voran." - )); - } -} diff --git a/db/migrations/6.0.18_tic_4529.php b/db/migrations/6.0.18_tic_4529.php new file mode 100644 index 0000000..dac40dd --- /dev/null +++ b/db/migrations/6.0.18_tic_4529.php @@ -0,0 +1,35 @@ +delete("MAIL_USE_SUBJECT_PREFIX"); + + Config::get()->create("MAIL_SUBJECT_PREFIX", array( + 'value' => "[Stud.IP]", + 'type' => "string", + 'range' => "global", + 'section' => "global", + 'description' => "Stellt dem Titel von per Mail versandten Nachrichten, wenn UNI_NAME_CLEAN leer ist." + )); + } + + public function down() + { + Config::get()->delete("MAIL_SUBJECT_PREFIX"); + + Config::get()->create("MAIL_USE_SUBJECT_PREFIX", array( + 'value' => "1", + 'type' => "boolean", + 'range' => "global", + 'section' => "global", + 'description' => "Stellt dem Titel von per Mail versandten Nachrichten den Wert von UNI_NAME_CLEAN voran." + )); + } +} -- cgit v1.0