Fix database seeders
This commit is contained in:
parent
73996d3154
commit
0357205a74
4 changed files with 11 additions and 11 deletions
|
@ -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',
|
||||
|
|
Reference in a new issue