def create_curriculum(conn, curriculum):
	"""
	Create a new cv into the curriculum table
	:param conn:
	:param curriculum:
	:return: curriculum id
	"""
	sql = ''' INSERT INTO curriculum(id,authorId,annoAsn,settore,ssd,quadrimestre,fascia,orcid,cognome,nome,bibl,I1,I2,I3,idSoglia,esito)
			  VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) '''
	sql_create_curriculum_table = """ CREATE TABLE IF NOT EXISTS curriculum (
										id integer PRIMARY KEY,
										authorId integer,
										annoAsn text NOT NULL,
										settore text NOT NULL,
										ssd text,
										quadrimestre integer NOT NULL,
										fascia integer NOT NULL,
										orcid text,
										cognome text,
										nome text,
										bibl integer,
										I1 integer NOT NULL,
										I2 integer NOT NULL,
										I3 integer NOT NULL,
										idSoglia integer NOT NULL,
										esito text NOT NULL,
										FOREIGN KEY (idSoglia) REFERENCES sogliaAsn(id)
										FOREIGN KEY (authorId) REFERENCES authorScopus(id)
									); """

	cur = conn.cursor()
	cur.execute(sql, curriculum)
	return cur.lastrowid