Create the recommended B-tree indexes for a morie cache table
Source:R/db_indexes.R
morie_db_create_indexes.RdLooks up table_name in the per-dataset index registry (see
.morie_db_index_registry() for the full list) and creates each
CREATE INDEX IF NOT EXISTS against con. Specs whose columns
aren't present in the actual table are silently skipped, so this is
safe to call on any morie cache table — including subsets that drop
some columns. Returns the number of CREATE INDEX statements that
actually ran (not the number registered).