function deleteWriteProfile(writer_id) {
    return db("writer_profiles")
        .where({
            writer_id,
        })
        .del();
}
//function to delete a writer user profile
function to delete a writer user profile
function to delete a writer user profile
function deleteWriteProfile(writer_id) {
    return db("writer_profiles")
        .where({
            writer_id,
        })
        .del();
}
function deleteWriteProfile ( writer_id ) { return db ( "writer_profiles" ) . where ( { writer_id , } ) . del ( ) ; }
function to delete a writer user profile
function to delete a writer user profile