def create_wroteRelation_withIndex(conn, record):
	"""
	Create a new wroteRelation record into the wroteRelationIndexCv table
	:param conn:
	:param record:
	:return: wroteRelationIndex id
	"""
	sql = ''' INSERT INTO wroteRelationIndexCv(idCv,authorId,eid,indexPubIndCv,totPubIndCv)
			  VALUES(?,?,?,?,?) '''
	cur = conn.cursor()
	cur.execute(sql, record)
	return cur.lastrowid