Code coverage for migrate.js
This commit is contained in:
parent
f3cacc89fd
commit
c3dc3c89b5
2 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ async function migrate(db) {
|
|||
let migrationRan = false
|
||||
|
||||
for (const filename of files) {
|
||||
/* c8 ignore next - we can't unit test this, but it's run on every real world bridge startup */
|
||||
if (progress >= filename) continue
|
||||
console.log(`Applying database migration ${filename}`)
|
||||
if (filename.endsWith(".sql")) {
|
||||
|
|
0
db/migrations/.baby
Normal file
0
db/migrations/.baby
Normal file
Loading…
Reference in a new issue