Lege input in db