From b33e8e23f00b5192e3d5866f22d4fc3e370cd9eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 22 Apr 2021 22:30:08 +0200 Subject: [PATCH] fix: migration rollback use DROP for column --- src/migrations/20210421133845-add-sort-order-to-strategies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations/20210421133845-add-sort-order-to-strategies.js b/src/migrations/20210421133845-add-sort-order-to-strategies.js index ca0b39de94..b7185f636c 100644 --- a/src/migrations/20210421133845-add-sort-order-to-strategies.js +++ b/src/migrations/20210421133845-add-sort-order-to-strategies.js @@ -15,5 +15,5 @@ exports.up = function(db, cb) { }; exports.down = function(db, cb) { - db.runSql(`ALTER TABLE strategies REMOVE COLUMN sort_order;`, cb); + db.runSql(`ALTER TABLE strategies DROP COLUMN sort_order;`, cb); };