fix: “代理商企业规模类型表”migrations文件表命名错误
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
use think\migration\Migrator;
|
||||
|
||||
class CreateAgentEntrypriceSizeType extends Migrator
|
||||
class CreateAgentEnterpriseSizeType extends Migrator
|
||||
{
|
||||
/**
|
||||
* Change Method.
|
||||
@@ -27,7 +27,7 @@ class CreateAgentEntrypriceSizeType extends Migrator
|
||||
*/
|
||||
public function change()
|
||||
{
|
||||
$table = $this->table('agent_entryprice_size_type', ['engine' => 'MyISAM', 'comment' => '代理商企业规模类型表']);
|
||||
$table = $this->table('agent_enterprise_size_type', ['engine' => 'MyISAM', 'comment' => '代理商企业规模类型表']);
|
||||
$table->addColumn('language_id', 'integer', ['null' => false, 'default' => 0, 'comment' => '语言ID'])
|
||||
->addColumn('name', 'string', ['limit' => 64, 'null' => false, 'comment' => '类型名'])
|
||||
->addColumn('value', 'string', ['limit' => 64, 'null' => false, 'comment' => '类型值'])
|
||||
Reference in New Issue
Block a user