Inserts new items in queue into a sqlite database