TODB: Incorrect or missing indexes #6066
Labels
bug
something isn't working as intended
database
relating to setup/installation/structure of the Traffic Ops database
Traffic Ops
related to Traffic Ops
Milestone
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
Table
topology
has nolast_updated
index, buttopology_cachegroup
has two including the one fortopology
which isCREATE INDEX topology_last_updated_idx ON topology_cachegroup ...
.Table
phys_location
has a typo in it's index. The name is listed aspys_location_last_updated_idx
instead ofphys_location_last_updated_idx
Expected behavior:
For
topology
, each table should have only one last_updated index.For
phys_location
the index should be named correctly.Minimal reproduction of the problem with instructions:
Run
db/admin.go
and inspect the schema.The text was updated successfully, but these errors were encountered: