fixed mailtemplte migration

This commit is contained in:
Frank Schubert
2024-08-29 14:53:41 +02:00
parent 1ed2dddb97
commit b713e803c9
@@ -9,7 +9,7 @@ final class CreateMailtemplate extends AbstractMigration
{
if($this->getEnvironment() == "thetool") {
$table = $this->table("Mailtemplate");
$table->addColumn("is_include", "int", ["null" => false, "default" => 0, "limit" => Phinx\Db\Adapter\MysqlAdapter::INT_TINY]);
$table->addColumn("is_include", "integer", ["null" => false, "default" => 0, "limit" => Phinx\Db\Adapter\MysqlAdapter::INT_TINY]);
$table->addColumn("name", "string", ["null" => false, "limit" => 255]);
$table->addColumn("code", "string", ["null" => false, "limit" => 64]);
$table->addColumn("description", "string", ["null" => true, "default" => null, "limit" => 1024]);