
Create Missing Hierarchy Entries
migration_create_hierarchy_entries.RdCreates entries for genus, family, order, and class levels where they don't already exist. This is Phase 2 of the hierarchy migration.
Details
Uses the `tax_level` column to identify existing entries at each level. Valid tax_level values: "class", "higher", "order", "family", "genus", "species", "infraspecific"
NOTE: Classes are currently stored in a separate table_tax_famclass table and linked via id_tax_famclass. This migration creates class-level entries in table_taxa for each class, which will serve as the root of the hierarchy.