ctrlpanel/database/migrations/2022_08_11_125502_ptero_client_key.php
2022-08-11 15:14:50 +02:00

37 lines
754 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class PteroClientKey extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// Insert some stuff
DB::table('settings')->insert(
array(
'key' => 'SETTINGS::SYSTEM:PTERODACTYL:ADMIN_USER_TOKEN',
'type' => 'string',
'description' => 'The Client API Key of an Pterodactyl Admin Account',
)
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}