refactor: 修改agent的migration文件
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user