function updateWriterEducation(changes, id) {
    return db("writer_educations")
        .where({
            id,
        })
        .first()
        .update(changes);
}
//update existing writer education data based on education data primary key id (not user id)
update existing writer education data based on education data primary key id (not user id)
update existing writer education data based on education data primary key id ( not user id )
function updateWriterEducation(changes, id) {
    return db("writer_educations")
        .where({
            id,
        })
        .first()
        .update(changes);
}
function updateWriterEducation ( changes , id ) { return db ( "writer_educations" ) . where ( { id , } ) . first ( ) . update ( changes ) ; }
update existing writer education data based on education data primary key id (not user id)
update existing writer education data based on education data primary key id ( not user id )