Merge branch 'fronkdev' into 'master'
fixed mailtemplte migration See merge request fronk/thetool!612
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user