Store calendar items in a database