rewrite indexdb to sqlite