diff --git a/db/migrations/20250612065913_mailtemplate_increase_text_length.php b/db/migrations/20250612065913_mailtemplate_increase_text_length.php new file mode 100644 index 000000000..7c941efb1 --- /dev/null +++ b/db/migrations/20250612065913_mailtemplate_increase_text_length.php @@ -0,0 +1,32 @@ +getEnvironment() == "thetool") { + $table = $this->table("Mailtemplate"); + $table->changeColumn("body_text", "text", ["null" => true, "default" => null, "length" => \Phinx\Db\Adapter\MysqlAdapter::TEXT_LONG]); + $table->changeColumn("body_html", "text", ["null" => true, "default" => null, "length" => \Phinx\Db\Adapter\MysqlAdapter::TEXT_LONG]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}