From 8c1fe3056f425834697335bb11e71a3f729af983 Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Sun, 23 Oct 2016 18:34:59 -0400 Subject: [PATCH] Correcting BungeeCord issue (#152) * Correcting BungeeCord issue --- ...16_10_23_181719_update_misnamed_bungee.php | 30 +++++++++++++++++++ .../seeds/MinecraftServiceTableSeeder.php | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 database/migrations/2016_10_23_181719_update_misnamed_bungee.php diff --git a/database/migrations/2016_10_23_181719_update_misnamed_bungee.php b/database/migrations/2016_10_23_181719_update_misnamed_bungee.php new file mode 100644 index 000000000..5a91e0138 --- /dev/null +++ b/database/migrations/2016_10_23_181719_update_misnamed_bungee.php @@ -0,0 +1,30 @@ +select('env_variable')->where('env_variable', 'BUNGE_VERSION')->update([ + 'env_variable' => 'BUNGEE_VERSION' + ]); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + return; + } +} diff --git a/database/seeds/MinecraftServiceTableSeeder.php b/database/seeds/MinecraftServiceTableSeeder.php index d0a316c2f..ff141abdb 100644 --- a/database/seeds/MinecraftServiceTableSeeder.php +++ b/database/seeds/MinecraftServiceTableSeeder.php @@ -215,7 +215,7 @@ class MinecraftServiceTableSeeder extends Seeder 'option_id' => $this->option['bungeecord']->id, 'name' => 'Bungeecord Version', 'description' => 'The version of Bungeecord to download and use.', - 'env_variable' => 'BUNGE_VERSION', + 'env_variable' => 'BUNGEE_VERSION', 'default_value' => 'latest', 'user_viewable' => 1, 'user_editable' => 1,