They need to be the same exact fish. Both cherry and gold barbs are part of the Cyprinidae family, and puntius genus, but cherry barb's scientific species name is titteya and gold barbs scientific species name is semifaciolatus. Their family and genus are the same, so they should get along, but their species is different so they won't school.