Stupid clang-format won't leave the SQL alone.  Remove stray debugging comment.  Open the databases in makeuniv, and write the stars file using the common routines from files_shl.cc.  Add SQL commands for REPLACEing the base star records (not of the one:many bits yet).  USe starnum_t for putstar