mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00

cache loading test this.attemptMigration Migration data and cleanup Linting IPFS data Revert "Linting" This reverts commit e41bc4a9ec2011716300134f985c7ec749743177. Revert "IPFS data" This reverts commit 299e0b7b72d74cdbaec80ad0796211790404e4c3. Better fixtures package-lock.json Test for directory options directory option working Fixing eventlog tests Safer migration Moving to migrations folder Linting
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
const from021To022 = require('./0.21-0.22')
|
|
|
|
const migrations = [from021To022]
|
|
|
|
async function run (OrbitDB, options, dbAddress) {
|
|
for (let i = 0; i < migrations.length; i++) {
|
|
await migrations[i](OrbitDB, options, dbAddress)
|
|
}
|
|
}
|
|
|
|
module.exports = { run }
|