add index to connections table