stores already-seen restaurants in an sqlite database.