function updateApplicantProfile(changes, applicant_id) {
    return db("applicant_profiles")
        .where({ applicant_id })
        .first()
        .update(changes);
}
//updates data on applicant user profile
updates data on applicant user profile
updates data on applicant user profile
function updateApplicantProfile(changes, applicant_id) {
    return db("applicant_profiles")
        .where({ applicant_id })
        .first()
        .update(changes);
}
function updateApplicantProfile ( changes , applicant_id ) { return db ( "applicant_profiles" ) . where ( { applicant_id } ) . first ( ) . update ( changes ) ; }
updates data on applicant user profile
updates data on applicant user profile