IndexedDb first phase