mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 18:42:31 +01:00
parent
6b011fcd36
commit
8c1fe3056f
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class UpdateMisnamedBungee extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
DB::table('service_variables')->select('env_variable')->where('env_variable', 'BUNGE_VERSION')->update([
|
||||
'env_variable' => 'BUNGEE_VERSION'
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -215,7 +215,7 @@ class MinecraftServiceTableSeeder extends Seeder
|
||||
'option_id' => $this->option['bungeecord']->id,
|
||||
'name' => 'Bungeecord Version',
|
||||
'description' => 'The version of Bungeecord to download and use.',
|
||||
'env_variable' => 'BUNGE_VERSION',
|
||||
'env_variable' => 'BUNGEE_VERSION',
|
||||
'default_value' => 'latest',
|
||||
'user_viewable' => 1,
|
||||
'user_editable' => 1,
|
||||
|
Loading…
Reference in New Issue
Block a user