|
@@ -42,7 +42,7 @@ class CreateTrackTable extends Command
|
|
|
$month = $this->option('month');
|
|
|
$month = $month ? $month : date('Ym', strtotime('+1 month'));
|
|
|
$track_table = 'douyin_tracks' . $month;
|
|
|
- $trackConn = Schema::connection('track');
|
|
|
+ $trackConn = Schema::connection('track_record');
|
|
|
if (!$trackConn->hasTable($track_table)) {
|
|
|
$trackConn->create($track_table, function (Blueprint $table) {
|
|
|
$table->increments('id');
|