From d12dc43b8fbb6fa8eed02f57260699e6bee57503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Mon, 26 Apr 2021 11:29:14 +0200 Subject: [PATCH] fix: migration should call cb on down --- src/migrations/20210423103647-lowercase-all-emails.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/migrations/20210423103647-lowercase-all-emails.js b/src/migrations/20210423103647-lowercase-all-emails.js index eddc78daa7..bbd9e04065 100644 --- a/src/migrations/20210423103647-lowercase-all-emails.js +++ b/src/migrations/20210423103647-lowercase-all-emails.js @@ -12,4 +12,6 @@ exports.up = function(db, cb) { ); }; -exports.down = function() {}; +exports.down = function(db, cb) { + db.runSql('', cb); +};