1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 00:52:43 +01:00
Pterodactyl-Panel/database/migrations/2016_10_23_181719_update_misnamed_bungee.php
Lance Pioch 3bf5a71802
PostgreSQL Support (#4486)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
2022-11-25 13:29:04 -07:00

24 lines
455 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
class UpdateMisnamedBungee extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
DB::table('service_variables')->select('env_variable')->where('env_variable', 'BUNGE_VERSION')->update([
'env_variable' => 'BUNGEE_VERSION',
]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
}
}