Fixed db relationship