HomePhabricator
Diffusion Comm 34ecda1b7f42

[keyserver] Extract migration config to separate file

Description

[keyserver] Extract migration config to separate file

Summary:
In the following diff, I'm going to check the latest migration index from setup-db.js so we can start with a default migration version.

Without this diff, that change would result in a require cycle.

Depends on D4151

Test Plan: This is a simple refactor. I tested it in combination with stack (see test plan in D4151), and also used Flow

Reviewers: palys-swm, atul

Reviewed By: palys-swm, atul

Subscribers: Adrian, atul, yayabosh

Differential Revision: https://phabricator.ashoat.com/D4152

Details

Provenance
ashoatAuthored on May 30 2022, 1:34 PM
Reviewer
tomek
Differential Revision
D4152: [keyserver] Extract migration config to separate file
Parents
rCOMM4ee5a775a2bb: [keyserver] Call setupDB from DB migration if meta table is missing
Branches
Unknown
Tags
Unknown