|
|
|
@ -51,7 +51,6 @@ class MigrateUser extends Command |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
$typeData = [2 => 1,3 => 3, 1 => 4]; |
|
|
|
$oldData = DB::table($oldTableName)->orderBy('id','asc')->get(); |
|
|
|
$bar = $this->output->createProgressBar(count($oldData)); |
|
|
|
$bar->start(); |
|
|
|
@ -77,7 +76,6 @@ class MigrateUser extends Command |
|
|
|
'real_name'=>$value->user_name, |
|
|
|
'tel'=>$value->user_tel, |
|
|
|
'unionid'=>$value->unionid, |
|
|
|
'status'=>$value->status, |
|
|
|
|
|
|
|
'created_at' => strtotime($value->join_time), |
|
|
|
'updated_at' => $value->updated_at, |
|
|
|
|