mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 19:29:13 +08:00
feat(ql3): rehearse legacy sqlite upgrade
This commit is contained in:
@@ -168,6 +168,10 @@ function legacyStopCommand(state, cutoverId = 'cutover-edge-1') {
|
||||
.createHash('sha256')
|
||||
.update(path.resolve(legacySourcePath), 'utf8')
|
||||
.digest('hex'),
|
||||
sourceSha256: crypto
|
||||
.createHash('sha256')
|
||||
.update(fs.readFileSync(legacySourcePath))
|
||||
.digest('hex'),
|
||||
recoverySha256: '4'.repeat(64),
|
||||
targetSha256: '5'.repeat(64),
|
||||
targetPathDigest: '6'.repeat(64),
|
||||
|
||||
Reference in New Issue
Block a user