Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/database/migrations/2016_10_23_181719_update_misnamed_bungee.php
7460 views
1
<?php
2
3
use Illuminate\Database\Migrations\Migration;
4
5
class UpdateMisnamedBungee extends Migration
6
{
7
/**
8
* Run the migrations.
9
*/
10
public function up(): void
11
{
12
DB::table('service_variables')->select('env_variable')->where('env_variable', 'BUNGE_VERSION')->update([
13
'env_variable' => 'BUNGEE_VERSION',
14
]);
15
}
16
17
/**
18
* Reverse the migrations.
19
*/
20
public function down(): void
21
{
22
}
23
}
24
25