UNPKG

orbit-db

Version:

Distributed p2p database on IPFS

10 lines (7 loc) 245 B
import from021To022 from './0.21-0.22.js' const migrations = [from021To022] export const run = async (OrbitDB, options, dbAddress) => { for (let i = 0; i < migrations.length; i++) { await migrations[i](OrbitDB, options, dbAddress) } }