forked from Alex/Pterodactyl-Panel
parent
e3df0738da
commit
8e8147cc43
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Crypt;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Crypt;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
@ -45,7 +45,7 @@ class SetupTableForKeyEncryption extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
/** @var \Pterodactyl\Models\APIKey $key */
|
||||
/* @var \Pterodactyl\Models\APIKey $key */
|
||||
DB::transaction(function () {
|
||||
foreach (DB::table('api_keys')->cursor() as $key) {
|
||||
DB::table('api_keys')->where('id', $key->id)->update([
|
||||
|
Loading…
Reference in New Issue
Block a user