table('export_log', ['comment'=>'导出记录表']) ->addColumn('root_id','integer', ['comment'=>'所属企业']) ->addColumn('file','string', ['comment'=>'导出文件']) ->addColumn('type','string', ['comment'=>'类型']) ->addColumn('employee_id','integer', ['comment'=>'操作人']) ->addColumn('search','string', ['comment'=>'查询条件']) ->addColumn('state','boolean', ['comment'=>'是否处理完毕', 'default'=>0]) ->addColumn('addtime','timestamp', ['comment'=>'添加时间', 'default'=>'CURRENT_TIMESTAMP']) ->create(); } }