From bfeed69f9bb8f01e42ade9e6d765ae73e3cf5b7d Mon Sep 17 00:00:00 2001 From: MuchQuak Date: Thu, 26 Sep 2024 20:07:23 -0700 Subject: [PATCH] add taxaenum tree to taxonomy seeder --- database/seeders/TaxonomySeeder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/seeders/TaxonomySeeder.php b/database/seeders/TaxonomySeeder.php index 1030b76..52f1555 100644 --- a/database/seeders/TaxonomySeeder.php +++ b/database/seeders/TaxonomySeeder.php @@ -104,6 +104,8 @@ public function run(): void { 'sciName' => $kingdom, 'unitName1' => $kingdom, ]); + + DB::insert('INSERT INTO taxaenumtree (tid, taxauthid, parenttid) VALUES (LAST_INSERT_ID(), 1, 1)'); } } }