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;
|
||||
}
|
||||
}
|
Reference in a new issue