From b15c0c933e202631cf2b98adccc381bf44f7ab91 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 21 Apr 2025 11:13:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9agent=E7=9A=84mig?= =?UTF-8?q?ration=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/migrations/20241224034202_create_agent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/20241224034202_create_agent.php b/database/migrations/20241224034202_create_agent.php index 839cbc68..fdc9ab3c 100644 --- a/database/migrations/20241224034202_create_agent.php +++ b/database/migrations/20241224034202_create_agent.php @@ -30,7 +30,7 @@ class CreateAgent extends Migrator $table = $this->table('agent', ['engine' => 'MyISAM', 'comment' => '代理商表']); $table->addColumn('language_id', 'integer', ['signed' => false, 'null' => false, 'comment' => '语言ID']) ->addColumn('corp_name', 'string', ['limit' => 64, 'null' => false, 'comment' => '公司名称']) - ->addColumn('email', 'string', ['limit' => 64, 'null' => false, 'comment' => '邮箱']) + ->addColumn('email', 'string', ['limit' => 128, 'null' => false, 'comment' => '邮箱']) ->addColumn('phone', 'string', ['limit' => 64, 'null' => false, 'comment' => '电话']) ->addColumn('referer_url', 'string', ['limit' => 255, 'null' => false, 'comment' => '来源URL']) ->addColumn('website_url', 'string', ['limit' => 255, 'null' => false, 'comment' => '网站URL'])