This repository has been archived on 2025-05-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Astral-nook/database/migrations/2016_10_23_181719_update_misnamed_bungee.php
Michael Parker 8c1fe3056f Correcting BungeeCord issue (#152)
* Correcting BungeeCord issue
2016-10-23 18:34:59 -04:00

30 lines
593 B
PHP

<?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;
}
}