From 0357205a748dd9ed810ba64d78fa7d6a98e9b02b Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 16 Feb 2017 18:06:16 -0500 Subject: [PATCH] Fix database seeders --- database/seeds/MinecraftServiceTableSeeder.php | 8 ++++---- database/seeds/SourceServiceTableSeeder.php | 8 ++++---- database/seeds/TerrariaServiceTableSeeder.php | 2 +- database/seeds/VoiceServiceTableSeeder.php | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/database/seeds/MinecraftServiceTableSeeder.php b/database/seeds/MinecraftServiceTableSeeder.php index f3fe5cca7..45f251ebd 100644 --- a/database/seeds/MinecraftServiceTableSeeder.php +++ b/database/seeds/MinecraftServiceTableSeeder.php @@ -67,7 +67,7 @@ class MinecraftServiceTableSeeder extends Seeder private function addCoreOptions() { $this->option['vanilla'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Vanilla Minecraft', 'description' => 'Minecraft is a game about placing blocks and going on adventures. Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles. Play in Creative Mode with unlimited resources or mine deep in Survival Mode, crafting weapons and armor to fend off dangerous mobs. Do all this alone or with friends.', 'tag' => 'vanilla', @@ -77,7 +77,7 @@ class MinecraftServiceTableSeeder extends Seeder ]); $this->option['spigot'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Spigot', 'description' => 'Spigot is the most widely-used modded Minecraft server software in the world. It powers many of the top Minecraft server networks around to ensure they can cope with their huge player base and ensure the satisfaction of their players. Spigot works by reducing and eliminating many causes of lag, as well as adding in handy features and settings that help make your job of server administration easier.', 'tag' => 'spigot', @@ -87,7 +87,7 @@ class MinecraftServiceTableSeeder extends Seeder ]); $this->option['sponge'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Sponge (SpongeVanilla)', 'description' => 'SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.', 'tag' => 'sponge', @@ -97,7 +97,7 @@ class MinecraftServiceTableSeeder extends Seeder ]); $this->option['bungeecord'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Bungeecord', 'description' => 'For a long time, Minecraft server owners have had a dream that encompasses a free, easy, and reliable way to connect multiple Minecraft servers together. BungeeCord is the answer to said dream. Whether you are a small server wishing to string multiple game-modes together, or the owner of the ShotBow Network, BungeeCord is the ideal solution for you. With the help of BungeeCord, you will be able to unlock your community\'s full potential.', 'tag' => 'bungeecord', diff --git a/database/seeds/SourceServiceTableSeeder.php b/database/seeds/SourceServiceTableSeeder.php index f6b93e090..87623335c 100644 --- a/database/seeds/SourceServiceTableSeeder.php +++ b/database/seeds/SourceServiceTableSeeder.php @@ -67,7 +67,7 @@ class SourceServiceTableSeeder extends Seeder private function addCoreOptions() { $this->option['insurgency'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Insurgency', 'description' => 'Take to the streets for intense close quarters combat, where a team\'s survival depends upon securing crucial strongholds and destroying enemy supply in this multiplayer and cooperative Source Engine based experience.', 'tag' => 'srcds', @@ -77,7 +77,7 @@ class SourceServiceTableSeeder extends Seeder ]); $this->option['tf2'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Team Fortress 2', 'description' => 'Team Fortress 2 is a team-based first-person shooter multiplayer video game developed and published by Valve Corporation. It is the sequel to the 1996 mod Team Fortress for Quake and its 1999 remake.', 'tag' => 'srcds', @@ -87,7 +87,7 @@ class SourceServiceTableSeeder extends Seeder ]); $this->option['ark'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Ark: Survival Evolved', 'description' => 'As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! — Gamepedia: ARK', 'tag' => 'ark', @@ -97,7 +97,7 @@ class SourceServiceTableSeeder extends Seeder ]); $this->option['custom'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Custom Source Engine Game', 'description' => 'This option allows modifying the startup arguments and other details to run a custo SRCDS based game on the panel.', 'tag' => 'srcds', diff --git a/database/seeds/TerrariaServiceTableSeeder.php b/database/seeds/TerrariaServiceTableSeeder.php index 41ed23924..59fd1e519 100644 --- a/database/seeds/TerrariaServiceTableSeeder.php +++ b/database/seeds/TerrariaServiceTableSeeder.php @@ -67,7 +67,7 @@ class TerrariaServiceTableSeeder extends Seeder private function addCoreOptions() { $this->option['tshock'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Terraria Server (TShock)', 'description' => 'TShock is a server modification for Terraria, written in C#, and based upon the Terraria Server API. It uses JSON for configuration management, and offers several features not present in the Terraria Server normally.', 'tag' => 'tshock', diff --git a/database/seeds/VoiceServiceTableSeeder.php b/database/seeds/VoiceServiceTableSeeder.php index 563683214..3856ac76a 100644 --- a/database/seeds/VoiceServiceTableSeeder.php +++ b/database/seeds/VoiceServiceTableSeeder.php @@ -67,7 +67,7 @@ class VoiceServiceTableSeeder extends Seeder private function addCoreOptions() { $this->option['mumble'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Mumble Server', 'description' => 'Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.', 'tag' => 'mumble', @@ -77,7 +77,7 @@ class VoiceServiceTableSeeder extends Seeder ]); $this->option['ts3'] = Models\ServiceOption::create([ - 'parent_service' => $this->service->id, + 'service_id' => $this->service->id, 'name' => 'Teamspeak3 Server', 'description' => 'VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.', 'tag' => 'ts3',