添加统计代码

This commit is contained in:
augushong
2019-08-23 15:44:08 +08:00
parent b0427a57b8
commit ac14c74e8a
4 changed files with 6 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ class CreateTableSystemConfig extends Migrator
{
$table = $this->table('system_config',['comment'=>'系统配置表']);
$table->addColumn('name','string',['limit'=>30,'comment'=>'配置名称']);
$table->addColumn('value','string',['limit'=>200,'comment'=>'值']);
$table->addColumn('value','string',['limit'=>500,'comment'=>'值']);
$table->addIndex('name');
$table->save();
}