mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-17 22:07:37 +08:00
improve paid torrent + hit and run
This commit is contained in:
@@ -353,6 +353,15 @@ class Update extends Install
|
||||
Setting::updateUserTokenPermissionAllowedCache(TokenRepository::listUserTokenPermissions(false));
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.9.5
|
||||
*/
|
||||
if (!Schema::hasColumn("snatched", "hit_and_run_id")) {
|
||||
$this->runMigrate("database/migrations/2025_06_09_222012_add_hr_and_buy_id_to_snatched_table.php");
|
||||
Artisan::call("upgrade:migrate_snatched_hr_id");
|
||||
Artisan::call("upgrade:migrate_snatched_buy_log_id");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function runExtraMigrate()
|
||||
|
||||
@@ -422,6 +422,7 @@ final class Nexus
|
||||
public static function dispatchQueueJob(ShouldQueue $job): void
|
||||
{
|
||||
self::getQueueManager()->connection(self::QUEUE_CONNECTION_NAME)->push($job);
|
||||
do_log("dispatchQueueJob: " . nexus_json_encode($job));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user