Fix database seeders

This commit is contained in:
Dane Everitt 2017-02-16 18:06:16 -05:00
parent 73996d3154
commit 0357205a74
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 11 additions and 11 deletions

View file

@ -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',

View file

@ -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',

View file

@ -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',

View file

@ -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',