作者 赵彬吉

update

... ... @@ -107,7 +107,7 @@ class SyncSubmitTask extends Command
DB::beginTransaction();
try {
$table = (new SyncSubmitTaskModel())->getTable();
$new_table = $table . '_backup_' . date('Ymd1');
$new_table = $table . '_backup_' . date('Ymd');
//重命名当前表
Schema::rename($table, $new_table);
... ...