parent
6b011fcd36
commit
8c1fe3056f
2 changed files with 31 additions and 1 deletions
|
@ -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,
|
'option_id' => $this->option['bungeecord']->id,
|
||||||
'name' => 'Bungeecord Version',
|
'name' => 'Bungeecord Version',
|
||||||
'description' => 'The version of Bungeecord to download and use.',
|
'description' => 'The version of Bungeecord to download and use.',
|
||||||
'env_variable' => 'BUNGE_VERSION',
|
'env_variable' => 'BUNGEE_VERSION',
|
||||||
'default_value' => 'latest',
|
'default_value' => 'latest',
|
||||||
'user_viewable' => 1,
|
'user_viewable' => 1,
|
||||||
'user_editable' => 1,
|
'user_editable' => 1,
|
||||||
|
|
Loading…
Reference in a new issue