cg_table_types in routes