Skip to content

Commit 0357205

Browse files
committed
Fix database seeders
1 parent 73996d3 commit 0357205

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

database/seeds/MinecraftServiceTableSeeder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function addCoreService()
6767
private function addCoreOptions()
6868
{
6969
$this->option['vanilla'] = Models\ServiceOption::create([
70-
'parent_service' => $this->service->id,
70+
'service_id' => $this->service->id,
7171
'name' => 'Vanilla Minecraft',
7272
'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.',
7373
'tag' => 'vanilla',
@@ -77,7 +77,7 @@ private function addCoreOptions()
7777
]);
7878

7979
$this->option['spigot'] = Models\ServiceOption::create([
80-
'parent_service' => $this->service->id,
80+
'service_id' => $this->service->id,
8181
'name' => 'Spigot',
8282
'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.',
8383
'tag' => 'spigot',
@@ -87,7 +87,7 @@ private function addCoreOptions()
8787
]);
8888

8989
$this->option['sponge'] = Models\ServiceOption::create([
90-
'parent_service' => $this->service->id,
90+
'service_id' => $this->service->id,
9191
'name' => 'Sponge (SpongeVanilla)',
9292
'description' => 'SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.',
9393
'tag' => 'sponge',
@@ -97,7 +97,7 @@ private function addCoreOptions()
9797
]);
9898

9999
$this->option['bungeecord'] = Models\ServiceOption::create([
100-
'parent_service' => $this->service->id,
100+
'service_id' => $this->service->id,
101101
'name' => 'Bungeecord',
102102
'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.',
103103
'tag' => 'bungeecord',

database/seeds/SourceServiceTableSeeder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function addCoreService()
6767
private function addCoreOptions()
6868
{
6969
$this->option['insurgency'] = Models\ServiceOption::create([
70-
'parent_service' => $this->service->id,
70+
'service_id' => $this->service->id,
7171
'name' => 'Insurgency',
7272
'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.',
7373
'tag' => 'srcds',
@@ -77,7 +77,7 @@ private function addCoreOptions()
7777
]);
7878

7979
$this->option['tf2'] = Models\ServiceOption::create([
80-
'parent_service' => $this->service->id,
80+
'service_id' => $this->service->id,
8181
'name' => 'Team Fortress 2',
8282
'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.',
8383
'tag' => 'srcds',
@@ -87,7 +87,7 @@ private function addCoreOptions()
8787
]);
8888

8989
$this->option['ark'] = Models\ServiceOption::create([
90-
'parent_service' => $this->service->id,
90+
'service_id' => $this->service->id,
9191
'name' => 'Ark: Survival Evolved',
9292
'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',
9393
'tag' => 'ark',
@@ -97,7 +97,7 @@ private function addCoreOptions()
9797
]);
9898

9999
$this->option['custom'] = Models\ServiceOption::create([
100-
'parent_service' => $this->service->id,
100+
'service_id' => $this->service->id,
101101
'name' => 'Custom Source Engine Game',
102102
'description' => 'This option allows modifying the startup arguments and other details to run a custo SRCDS based game on the panel.',
103103
'tag' => 'srcds',

database/seeds/TerrariaServiceTableSeeder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function addCoreService()
6767
private function addCoreOptions()
6868
{
6969
$this->option['tshock'] = Models\ServiceOption::create([
70-
'parent_service' => $this->service->id,
70+
'service_id' => $this->service->id,
7171
'name' => 'Terraria Server (TShock)',
7272
'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.',
7373
'tag' => 'tshock',

database/seeds/VoiceServiceTableSeeder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function addCoreService()
6767
private function addCoreOptions()
6868
{
6969
$this->option['mumble'] = Models\ServiceOption::create([
70-
'parent_service' => $this->service->id,
70+
'service_id' => $this->service->id,
7171
'name' => 'Mumble Server',
7272
'description' => 'Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.',
7373
'tag' => 'mumble',
@@ -77,7 +77,7 @@ private function addCoreOptions()
7777
]);
7878

7979
$this->option['ts3'] = Models\ServiceOption::create([
80-
'parent_service' => $this->service->id,
80+
'service_id' => $this->service->id,
8181
'name' => 'Teamspeak3 Server',
8282
'description' => 'VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.',
8383
'tag' => 'ts3',

0 commit comments

Comments
 (0)