fixed mailtemplte migration
This commit is contained in:
@@ -9,7 +9,7 @@ final class CreateMailtemplate extends AbstractMigration
|
|||||||
{
|
{
|
||||||
if($this->getEnvironment() == "thetool") {
|
if($this->getEnvironment() == "thetool") {
|
||||||
$table = $this->table("Mailtemplate");
|
$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("name", "string", ["null" => false, "limit" => 255]);
|
||||||
$table->addColumn("code", "string", ["null" => false, "limit" => 64]);
|
$table->addColumn("code", "string", ["null" => false, "limit" => 64]);
|
||||||
$table->addColumn("description", "string", ["null" => true, "default" => null, "limit" => 1024]);
|
$table->addColumn("description", "string", ["null" => true, "default" => null, "limit" => 1024]);
|
||||||
|
|||||||
Reference in New Issue
Block a user