Fix requirements to refer db as Repository on 5.x