db relation startup