Add db relationship