refactor: 处理优化migration文件与model文件字段不一致

This commit is contained in:
2025-06-12 17:41:14 +08:00
parent c8284568aa
commit a8f3aa3a1b
13 changed files with 58 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ class CreateBulkPurchaseInquiry extends Migrator
->addColumn('province', 'string', ['limit' => 64, 'null' => true, 'comment' => '省'])
->addColumn('city', 'string', ['limit' => 64, 'null' => true, 'comment' => '市'])
->addColumn('district', 'string', ['limit' => 64, 'null' => true, 'comment' => '区'])
->addColumn('address', 'string', ['limit' => 255, 'null' => true, 'comment' => '地址'])
->addColumn('street', 'string', ['limit' => 255, 'null' => true, 'comment' => '街道'])
->addColumn('interested', 'string', ['limit' => 255, 'null' => false, 'comment' => '兴趣(感兴趣的产品品类)'])
->addColumn('url', 'string', ['limit' => 255, 'null' => true, 'comment' => '感兴趣产品所在官网URL'])
->addColumn('referer_url', 'string', ['limit' => 255, 'null' => true, 'comment' => '来源URL'])