Fixed wonky migration indexes
Fixed db