所有待办完成

This commit is contained in:
augushong
2019-10-10 21:26:16 +08:00
parent 44da234f53
commit b3c046e1c7
14 changed files with 525 additions and 26 deletions

View File

@@ -28,10 +28,10 @@ class CreateTableSystemConfig extends Migrator
*/
public function change()
{
$table = $this->table('system_config',['comment'=>'系统配置表']);
$table = $this->table('system_config',['comment'=>'系统配置表','signed'=>false]);
$table->addColumn('name','string',['limit'=>30,'comment'=>'配置名称']);
$table->addColumn('value','string',['limit'=>500,'comment'=>'值']);
$table->addColumn('value','text',['comment'=>'值']);
$table->addIndex('name');
$table->save();
$table->create();
}
}