1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 01:22:30 +01:00
Pterodactyl-Panel/database/migrations/2016_10_23_181719_update_misnamed_bungee.php

31 lines
593 B
PHP
Raw Normal View History

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