make structure of indexedDB