From a24c154d7760490da73b2d92f7e4d355af28f840 Mon Sep 17 00:00:00 2001 From: Curtis Delicata Date: Wed, 3 Jun 2020 19:28:09 +0000 Subject: [PATCH] Bug fixes --- app/Family.php | 1 - app/Tables/Builders/PlaceTable.php | 2 +- database/seeds/UserSeeder.php | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Family.php b/app/Family.php index 0b7762b36..a4cdf5db5 100644 --- a/app/Family.php +++ b/app/Family.php @@ -92,4 +92,3 @@ public function getHusbandName() } -} diff --git a/app/Tables/Builders/PlaceTable.php b/app/Tables/Builders/PlaceTable.php index 607fa9f0a..2a5bff583 100644 --- a/app/Tables/Builders/PlaceTable.php +++ b/app/Tables/Builders/PlaceTable.php @@ -13,7 +13,7 @@ class PlaceTable implements Table public function query(): Builder { return Place::selectRaw(' - places.id, places.name, places.title, places.date + places.id, places.title, places.date '); } diff --git a/database/seeds/UserSeeder.php b/database/seeds/UserSeeder.php index 7acf62281..ec14a80b7 100644 --- a/database/seeds/UserSeeder.php +++ b/database/seeds/UserSeeder.php @@ -28,6 +28,8 @@ private function person() return factory(Person::class)->create([ 'title' => Titles::Mr, 'name' => 'Admin Root', + 'givn' => 'Admin', + 'surn' => 'Root', 'appellative' => 'Admin', 'email' => 'admin@genealogia.co.uk', 'birthday' => '1970-01-01',