Store trips in database