add primary key for indices status