history: adding sqlite database