table('customer_not_visit', ['comment'=>'预约未回访数据']) ->addColumn('customer_id', 'integer', ['comment' => '客户id']) ->addColumn('employee_id', 'integer', ['comment' => '跟进人id']) ->addColumn('org_id', 'integer', ['comment' => '客户所属部门(非设计师或跟进人部门)']) ->addColumn('designer_id', 'integer', ['comment' => '设计师', 'null' => true]) ->addColumn('appoint_date', 'date', ['comment' => '预约时间']) ->addColumn('state', 'string', ['comment' => '状态', 'null'=>true]) ->addColumn('addtime', 'timestamp', ['comment' => '添加时间', 'default' => 'CURRENT_TIMESTAMP']) ->create(); } }