fix: “代理商企业规模类型表”migrations文件表命名错误

This commit is contained in:
2025-06-13 14:38:35 +08:00
parent 567b6e3c01
commit 5e35359aa0
2 changed files with 4 additions and 4 deletions

View File

@@ -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' => '类型值'])